ports/sysutils/tmux23/files/extra-patch-tty-keys.c
Yuri Victorovich fb118f07c9 New port: sysutils/tmux23: The older version 2.3 of sysutils/tmux
Miroslav Lachman reported that the version 2.3 is free
of buggy behavior with mouse scrolling etc. that was
introduced in later versions.

While in sysutils/Makefile, also fixed a minor ordering
problem.

PR:		223685
Submitted by:	Miroslav Lachman <000.fbsd@quip.cz>
2018-03-20 03:39:57 +00:00

11 lines
371 B
C

--- tty-keys.c.orig 2016-04-30 12:46:35 UTC
+++ tty-keys.c
@@ -628,8 +628,6 @@ complete_key:
* used. termios should have a better idea.
*/
bspace = tty->tio.c_cc[VERASE];
- if (bspace != _POSIX_VDISABLE && (key & KEYC_MASK_KEY) == bspace)
- key = (key & KEYC_MASK_MOD) | KEYC_BSPACE;
/* Remove data from buffer. */
evbuffer_drain(tty->event->input, size);