diff options
| author | Koichi Murase <myoga.murase@gmail.com> | 2024-01-02 17:40:40 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-01-02 08:40:40 +0000 |
| commit | 7f443588cf591b53ff77614d42ddc7823f20394f (patch) | |
| tree | e17b40cb1a344a7db51607b362a1b3ef9c52c808 /README.md | |
| parent | refactor(bash): refactor and optimize `__atuin_accept_line` (#1482) (diff) | |
| download | atuin-7f443588cf591b53ff77614d42ddc7823f20394f.zip | |
fix(bash,zsh): fix quirks on search cancel (#1483)
* fix(bash): preserve the line content on search cancel
In the current implementation for Bash, the line content is lost when
the user cancels the atuin search by pressing ESC, C-g, or Down at the
bottom line. This is because the line content is set to the empty
string returned by atuin on the cancellation of the search.
In the integrations for other shells, zsh and fish, the empty output
is properly handled so that the line content is preserved. This patch
makes the behavior in Bash consistent with that in zsh and fish, i.e.,
we do nothing when the atuin search returns an empty output.
* fix(zsh): ignore confusing line `__atuin_accept__:*` on search cancel
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions
