diff options
author | Yuvi Panda <yuvipanda@gmail.com> | 2021-05-10 17:25:29 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-10 12:55:29 +0100 |
commit | c02934d184cca5d24a628d2e5ec601e12db2a630 (patch) | |
tree | 644c6014991b306682fefdf4db196122c3e36b65 /Cargo.toml | |
parent | f0463326fa456c96c78e4d3f78106d0312fec588 (diff) |
Implement 'quick access' via Alt-<n> (#79)
* Implement 'quick access' via numbers
Puts numbers 0-9 next to commands *above* current selection.
Ctrl-<number> should activate them - but since Ctrl-<num> are
reserved by terminal, this does not currently work. Need to
find different sets of keyboard shortcuts.
Numbers are *above* current selection, since the user must use
the arrow keys to go over the commands below current selection
before reaching selection.
* Use Alt+<n> to select last nth command
* Don't print Opt+0
Same as <Enter>
* Run rustfmt
* Simplify code
- Use ? operator for getting selected item
- Use RangeInclusive to check if character pressed is a number
Diffstat (limited to 'Cargo.toml')
0 files changed, 0 insertions, 0 deletions