diff options
author | Tiago Cunha <tcunha@gmx.com> | 2009-08-09 15:26:24 +0000 |
---|---|---|
committer | Tiago Cunha <tcunha@gmx.com> | 2009-08-09 15:26:24 +0000 |
commit | 15f6a41a753196bd59607f1ca0ea082608bbc3eb (patch) | |
tree | c1e0bf5354d9079c3218c474f1780df9ceaecbb8 /cmd-string.c | |
parent | 75b6736cf45d4b7b8b4873b4ad6d0cb85e56dcfb (diff) | |
download | rtmux-15f6a41a753196bd59607f1ca0ea082608bbc3eb.tar.gz rtmux-15f6a41a753196bd59607f1ca0ea082608bbc3eb.tar.bz2 rtmux-15f6a41a753196bd59607f1ca0ea082608bbc3eb.zip |
Sync OpenBSD patchset 211:
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 'cmd-string.c')
-rw-r--r-- | cmd-string.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/cmd-string.c b/cmd-string.c index 00331c32..995ce163 100644 --- a/cmd-string.c +++ b/cmd-string.c @@ -1,4 +1,4 @@ -/* $Id: cmd-string.c,v 1.21 2009-07-14 06:54:38 nicm Exp $ */ +/* $Id: cmd-string.c,v 1.22 2009-08-09 15:26:24 tcunha 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; |