aboutsummaryrefslogtreecommitdiffhomepage
path: root/demo/ex2.c
diff options
context:
space:
mode:
Diffstat (limited to 'demo/ex2.c')
-rw-r--r--demo/ex2.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/demo/ex2.c b/demo/ex2.c
index bbfa980..eef251e 100644
--- a/demo/ex2.c
+++ b/demo/ex2.c
@@ -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;
}
-