aboutsummaryrefslogtreecommitdiff
path: root/termkey_waitkey.3.sh
diff options
context:
space:
mode:
authorPaul LeoNerd Evans <leonerd@leonerd.org.uk>2011-04-03 00:27:02 +0100
committerPaul LeoNerd Evans <leonerd@leonerd.org.uk>2011-04-03 00:27:02 +0100
commit574754d5f108a92d77dc4e01022091ed42ca0020 (patch)
tree190a78d91e7a8ea6f0e3aa63e34388da26dd9771 /termkey_waitkey.3.sh
parentad7d31ead8ff9c34bb63172754d3e7d15d803bde (diff)
downloadtermo-574754d5f108a92d77dc4e01022091ed42ca0020.tar.gz
termo-574754d5f108a92d77dc4e01022091ed42ca0020.tar.xz
termo-574754d5f108a92d77dc4e01022091ed42ca0020.zip
Bugfixes to manpage layout - no need to .br when the demo is pulled in a .nf anyway; remember to escape slashes
Diffstat (limited to 'termkey_waitkey.3.sh')
-rw-r--r--termkey_waitkey.3.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/termkey_waitkey.3.sh b/termkey_waitkey.3.sh
index dbc035b..812bb1d 100644
--- a/termkey_waitkey.3.sh
+++ b/termkey_waitkey.3.sh
@@ -29,11 +29,11 @@ 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
+.nf
EOF
-sed i.br demo.c
+sed "s/\\\\/\\\\\\\\/g" demo.c
cat <<EOF
.in
-.nf
.fi
.SH "SEE ALSO"
.BR termkey_new (3),