diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2011-10-11 15:08:14 +0200 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2011-10-11 15:08:14 +0200 |
commit | 62cbcd271283070848a0d924ba25a061a2dff2da (patch) | |
tree | e57e4c1a2103dab7bcbc59dfc74cf8445816c605 /demo/ex2.c | |
parent | 1efec3952b780cc675ae111313017c3b91d20a01 (diff) | |
download | erlang-slang-fork-62cbcd271283070848a0d924ba25a061a2dff2da.tar.gz |
applied debian erlang-slang_1.0-3 patch: some slang_drv updates
most of this are useless whitespace changes, but slang_drv is updated
and debian files are added
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; } - |