aboutsummaryrefslogtreecommitdiffstats
path: root/flake.nix
diff options
context:
space:
mode:
authorKoichi Murase <myoga.murase@gmail.com>2024-03-12 00:25:57 +0900
committerGitHub <noreply@github.com>2024-03-11 15:25:57 +0000
commit0d3741f1cccf88e60439d37430a368faa95f3512 (patch)
tree923cf5a08dbf1b052ff56074ddf1b7acc3eabd68 /flake.nix
parentfix(dotfiles): use latest client (#1859) (diff)
downloadatuin-0d3741f1cccf88e60439d37430a368faa95f3512.zip
feat(search): process [C-h] and [C-?] as representations of backspace (#1857)
In the conventional terminal protocol, Backspace can be transmitted as the code \x08 or \x7F depending on the terminal. Ctrl+Backspace can also be transmitted as the code \x08 or \x7F. These overlap with the code for Ctrl+H and Ctrl+?. The crossterm library does not try to handle these terminal dependencies (probably because it is hard to resolve it perfectly). To provide a consistent experience among terminals, we assign to C-h and C-? the same feature as backspace. Note: The crossterm seems to produce Ctrl+Backspace only in the extended keyboard protocol, so we can trust crossterm particularly for Ctrl+Backspace. For this reason, we keep the feature of removing a backward word by Ctrl+Backspace. https://github.com/atuinsh/atuin/issues/1753
Diffstat (limited to 'flake.nix')
0 files changed, 0 insertions, 0 deletions