摘要: 使用下面两个函数来进行创建子窗口#includeWINDOW *subwin(WINDOW *parent,int num_of_lines,int num_of_cols,int start_y,int start_x);int delwin(WINDOW *window_to_delete); ... 阅读全文
posted @ 2014-11-16 17:42 尽子轨 阅读(232) 评论(0) 推荐(0) 编辑
摘要: 1 #include 2 #include 3 #include 4 #include 5 #include 6 #include 7 #include 8 static struct termios initial_settings,new_settings; 9 static int peek... 阅读全文
posted @ 2014-11-16 16:51 尽子轨 阅读(669) 评论(0) 推荐(0) 编辑
摘要: 1 #include 2 #include 3 #include 4 #include 5 #include 6 #define PW_LEN 256 7 #define NAME_LEN 256 8 int main() 9 { 10 initscr(); 11 ... 阅读全文
posted @ 2014-11-16 14:21 尽子轨 阅读(416) 评论(0) 推荐(0) 编辑