diff options
author | wen <wen@FreeBSD.org> | 2010-06-04 09:26:22 +0800 |
---|---|---|
committer | wen <wen@FreeBSD.org> | 2010-06-04 09:26:22 +0800 |
commit | 491eb2f58b59850791b86579d71bb9bed6045897 (patch) | |
tree | 88e3e87648d93180d505bc5e989fd9086d564838 | |
parent | 2c517ae41bc125bae8449cba549f7c0b8315eebf (diff) | |
download | freebsd-ports-gnome-491eb2f58b59850791b86579d71bb9bed6045897.tar.gz freebsd-ports-gnome-491eb2f58b59850791b86579d71bb9bed6045897.tar.zst freebsd-ports-gnome-491eb2f58b59850791b86579d71bb9bed6045897.zip |
- Fix the bug that tmux don't assume \177 as backspace char
PR: ports/140339
Submitted by: Anonymous <swell.k@gmail.com>
-rw-r--r-- | sysutils/tmux/Makefile | 2 | ||||
-rw-r--r-- | sysutils/tmux/files/patch-tty-keys.c | 11 |
2 files changed, 12 insertions, 1 deletions
diff --git a/sysutils/tmux/Makefile b/sysutils/tmux/Makefile index 57326456288b..391b4d2de861 100644 --- a/sysutils/tmux/Makefile +++ b/sysutils/tmux/Makefile @@ -7,7 +7,7 @@ PORTNAME= tmux PORTVERSION= 1.2 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= sysutils MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} diff --git a/sysutils/tmux/files/patch-tty-keys.c b/sysutils/tmux/files/patch-tty-keys.c new file mode 100644 index 000000000000..6a8bf625c9cc --- /dev/null +++ b/sysutils/tmux/files/patch-tty-keys.c @@ -0,0 +1,11 @@ +--- tty-keys.c.orig 2010-06-04 08:45:52.000000000 +0800 ++++ tty-keys.c 2010-06-04 08:46:45.000000000 +0800 +@@ -456,8 +456,6 @@ + * used. termios should have a better idea. + */ + bspace = tty->tio.c_cc[VERASE]; +- if (bspace != _POSIX_VDISABLE && key == bspace) +- key = KEYC_BSPACE; + goto handle_key; + } + |