Commit Graph

7 Commits (fff86b95d166d57547aed5a6db985713c89026d9)

Author SHA1 Message Date
sebashwa fff86b95d1 Add alt backspace keybinding for inputs
This deletes in the left direction until a non alphanumeric character is
found.
2 years ago
sebashwa 221d10ee91 Introduce helper methods for input key safeguards 2 years ago
sebashwa a55f0fe3e7 Change interface for moving cursor to whitespace 2 years ago
sebashwa 898424209b Add delete word for inputs
<Ctrl-w> deletes the input from the current cursor position up to the
first occurence of a whitespace before the current position.
2 years ago
sebashwa 1d0b79ec48 Use early returns in input util key matching 2 years ago
sebashwa ffe5ce2166 Add happy path tests for input key handling 2 years ago
sebashwa 96680c2afb Add new util input helper
Most of the input logic was duplicated in three places as of now:

* Database filter input
* SQL Editor
* Table filter

This is done in preparation for adding more cursor movement
functionality for inputs.
2 years ago