diff options
Diffstat (limited to 'demo/ex2.c')
-rw-r--r-- | demo/ex2.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -5,7 +5,7 @@ int main () { int abort_char = 7; /* For MSDOS, use 34 as scan code */ unsigned int ch; - + if (-1 == SLang_init_tty (abort_char, 0, 1)) { fprintf (stderr, "Unable to initialize the terminal.\n"); @@ -14,7 +14,7 @@ int main () SLang_set_abort_signal (NULL); fflush (stdout); - + ch = SLang_getkey (); printf("<< %c >> %d ",ch, SLang_Error); @@ -22,7 +22,6 @@ int main () SLang_reset_tty (); return 0; } - |