diff options
author | 2016-04-09 18:42:49 +0000 | |
---|---|---|
committer | 2016-04-09 18:42:49 +0000 | |
commit | 491df958dfb17b13c78bdc2dfbd7ce70d6c68c7c (patch) | |
tree | b50f8cfde6d0770b4468b9d248cc606f40074d9b /lib/libedit/emacs.c | |
parent | Remove _tz as intermediate variable and use CGI_TZ directly. (diff) | |
download | wireguard-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