diff options
author | 2009-08-03 14:10:54 +0000 | |
---|---|---|
committer | 2009-08-03 14:10:54 +0000 | |
commit | 5e07382cd681c6010984cb5c257ad32c21ab73bd (patch) | |
tree | 29acd5f3b59026f5b65142a20f2285385edc4a97 /usr.bin/tmux/cmd-string.c | |
parent | Make announce "self" work like all others (self is a bit special because (diff) | |
download | wireguard-openbsd-5e07382cd681c6010984cb5c257ad32c21ab73bd.tar.xz wireguard-openbsd-5e07382cd681c6010984cb5c257ad32c21ab73bd.zip |
Add a terminal-overrides session option allowing individual terminfo(5) entries
to be overridden. The 88col/256col checks are now moved into the default
setting and out of the code.
Also remove a couple of old workarounds for xterm and rxvt which are no longer
necessary (tmux can emulate them if missing).
Diffstat (limited to 'usr.bin/tmux/cmd-string.c')
-rw-r--r-- | usr.bin/tmux/cmd-string.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.bin/tmux/cmd-string.c b/usr.bin/tmux/cmd-string.c index 1c1435f5956..2094d35b9c6 100644 --- a/usr.bin/tmux/cmd-string.c +++ b/usr.bin/tmux/cmd-string.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cmd-string.c,v 1.4 2009/07/13 18:49:36 nicm Exp $ */ +/* $OpenBSD: cmd-string.c,v 1.5 2009/08/03 14:10:54 nicm Exp $ */ /* * Copyright (c) 2008 Nicholas Marriott <nicm@users.sourceforge.net> @@ -215,6 +215,9 @@ cmd_string_string(const char *s, size_t *p, char endch, int esc) switch (ch = cmd_string_getc(s, p)) { case EOF: goto error; + case 'e': + ch = '\033'; + break; case 'r': ch = '\r'; break; |