« get me outta code hell

TextInput: Don't bubble backspace or arrow keys - tui-lib - Pure Node.js library for making visual command-line programs (ala vim, ncdu)
about summary refs log tree commit diff
path: root/ui/tools
diff options
context:
space:
mode:
authorFlorrie <towerofnix@gmail.com>2018-09-12 14:20:30 -0300
committerFlorrie <towerofnix@gmail.com>2018-09-12 14:22:11 -0300
commite2f830680c1a6e9f28ad305b105caf5cdf092e63 (patch)
tree0ce0a3a8134a8864a7d87e4e5d6ea678986d7abd /ui/tools
parent9bffe0da811c4ff445348531f66db1559d80fd2d (diff)
TextInput: Don't bubble backspace or arrow keys
Like mentioned before, it's not too complicated to make these not
bubble - just some added 'return false's.

I wrapped the whole block in a try-finally so that keepCursorInRange
could always be called at the end without any significant code structure
change, so that means the git diff is a little wonky - best viewed with
the -w (ignore whitespace changes) option.
Diffstat (limited to 'ui/tools')
0 files changed, 0 insertions, 0 deletions