diff options
Diffstat (limited to 'termkey_waitkey.3.sh')
-rw-r--r-- | termkey_waitkey.3.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/termkey_waitkey.3.sh b/termkey_waitkey.3.sh index 1cdd871..7dda316 100644 --- a/termkey_waitkey.3.sh +++ b/termkey_waitkey.3.sh @@ -29,7 +29,9 @@ No key events are ready and the terminal has been closed, so no more will arrive The following example program prints details of every keypress until the user presses "Ctrl-C". .PP .in +4n -`while read LINE; do echo ".br"; echo "$LINE"; done <demo.c` +EOF +sed i.br demo.c +cat <<EOF .in .nf .fi |