Both terminators \007 and \033\\ leave the index pointing to the final
authornicm <nicm@openbsd.org>
Mon, 19 Aug 2024 08:29:16 +0000 (08:29 +0000)
committernicm <nicm@openbsd.org>
Mon, 19 Aug 2024 08:29:16 +0000 (08:29 +0000)
commit3d0c1d4768feab9231d4112759134fb620bfb9fc
tree843e75763131ff0fc25315ade1f1f4c0cdf8ed7f
parent9c5773df0ce0f60eb6054a21b231f281f1ad7835
Both terminators \007 and \033\\ leave the index pointing to the final
character of the terminator, so correct the size calculation to always
add one. GitHub issue 4082.
usr.bin/tmux/tty-keys.c