diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2016-08-16 23:13:05 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2016-08-16 23:15:17 +0200 |
commit | 83a2cf3e36a20b7740a2902d2ef4996df7a46270 (patch) | |
tree | 18896cd8f453aa358563a74af9b6c4b0b5b6fa83 /term/munge.c | |
parent | 02f5c0208985d60fede08c1eafad04e80353b670 (diff) |
Drop OTILDE support
It was used long ago, poses problems to readline, and currently conflicts
with TAB1
Thanks Kalle Olavi Niemitalo for the report and rationale
* term/munge.c (output_character): Do not handle OTILDE.
(output_width): Likewise.
* term/term.h (OTILDE): Drop macro definition.
* term/users.c (open_hook): Do not check OTILDE flag.
Diffstat (limited to 'term/munge.c')
-rw-r--r-- | term/munge.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/term/munge.c b/term/munge.c index 7e08e2d2..96b0df39 100644 --- a/term/munge.c +++ b/term/munge.c @@ -87,11 +87,6 @@ output_character (int c) } else if ((oflag & ONOEOT) && c == CHAR_EOT) ; - else if ((oflag & OTILDE) && c == '~') - { - poutput ('\\'); - poutput ('`'); - } else if ((oflag & OLCASE) && isalpha (c)) { if (isupper (c)) @@ -125,8 +120,6 @@ output_width (int c, int loc) if (oflag & OPOST) { - if ((oflag & OTILDE) && c == '~') - return 2; if ((oflag & OLCASE) && isalpha (c) && isupper (c)) return 2; } |