remove stuff
This commit is contained in:
parent
4131bf0a6a
commit
e2607f493c
20
c_kls.c
20
c_kls.c
|
@ -1,20 +0,0 @@
|
||||||
#include <ncurses.h>
|
|
||||||
|
|
||||||
int main()
|
|
||||||
{
|
|
||||||
initscr(); /* Start curses mode */
|
|
||||||
printw("Hello World !!!\n"); /* Print Hello World */
|
|
||||||
refresh(); /* Print it on to the real screen */
|
|
||||||
def_shell_mode(); /* Save the tty modes */
|
|
||||||
endwin(); /* End curses mode temporarily */
|
|
||||||
system("vim"); /* Do whatever you like in cooked mode */
|
|
||||||
reset_shell_mode(); /* Return to the previous tty mode*/
|
|
||||||
/* stored by def_prog_mode() */
|
|
||||||
refresh(); /* Do refresh() to restore the */
|
|
||||||
/* Screen contents */
|
|
||||||
printw("Another String\n"); /* Back to curses use the full */
|
|
||||||
refresh(); /* capabilities of curses */
|
|
||||||
endwin(); /* End curses mode */
|
|
||||||
|
|
||||||
return 0;
|
|
||||||
}
|
|
Loading…
Reference in New Issue