summaryrefslogtreecommitdiffstats
path: root/lib/libedit/emacs.c
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2016-04-09 18:42:49 +0000
committerschwarze <schwarze@openbsd.org>2016-04-09 18:42:49 +0000
commit491df958dfb17b13c78bdc2dfbd7ce70d6c68c7c (patch)
treeb50f8cfde6d0770b4468b9d248cc606f40074d9b /lib/libedit/emacs.c
parentRemove _tz as intermediate variable and use CGI_TZ directly. (diff)
downloadwireguard-openbsd-491df958dfb17b13c78bdc2dfbd7ce70d6c68c7c.tar.xz
wireguard-openbsd-491df958dfb17b13c78bdc2dfbd7ce70d6c68c7c.zip
Reset the terminal to its initial state before exiting a program
using libedit, using code from NetBSD tty.c rev. 1.42, 1.48, 1.49, 1.58, and 1.59. Code mostly by Christos Zoulas, one bug report by John Hein, one additional bugfix by me (rev. 1.59). While here, switch t_mode to unsigned char, which is sufficient, also from NetBSD. OK martijn@. Also checked by Christian Heckendorf <mbie at ulmus dot me>.
Diffstat (limited to 'lib/libedit/emacs.c')
0 files changed, 0 insertions, 0 deletions