diff options
author | Koichi Murase <myoga.murase@gmail.com> | 2024-02-14 17:54:44 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-14 08:54:44 +0000 |
commit | 063d9054d74c0c44781507eed27378415ab9fef5 (patch) | |
tree | 941d06ab49f58bda1fe1d06761700c027eadae9f /atuin-client/src/settings.rs | |
parent | 1a432b61ee4f52f3ff0da1c991aa5d605f700869 (diff) |
feat(search): process Ctrl+m for kitty keyboard protocol (#1720)
Fixes https://github.com/atuinsh/atuin/issues/1719
[C-m] is usually identical to [RET] in the terminal protocol, and some
users use [C-m] in place of [RET]. However, kitty's extended keyboard
protocol enables differentiating them so that [C-m] does not function
as does without the extended keyboard protocol.
For the compatibility with terminals without extended keyboard
protocols, we anyway cannot assign a distinct feature to [C-m], so we
can safely add the explicit binding of InputAction::Accept to [C-m].
Diffstat (limited to 'atuin-client/src/settings.rs')
0 files changed, 0 insertions, 0 deletions