~vcs-imports/nano/master

Viewing all changes in revision 10193.

  • Committer: Benno Schulenberg
  • Date: 2023-10-16 06:55:06 UTC
  • Revision ID: git-v1:ef35ea72cfaada26f6ee1ca3473e1ce78481f6b7
input: neutralize two spurious keycodes from VTE terminals

At least some of the VTE-based terminals claim to be compatible with
xterm-25color (and set TERM to that value).  But they really aren't:
they mishandle the focus-in and focus-out events, for example.  So,
catch and discard the corresponding keycodes that nano shouldn't be
seeing at all.

This improves the fix for https://savannah.gnu.org/bugs/?64578.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: