diff options
| author | Helmut K. C. Tessarek <tessarek@evermeet.cx> | 2024-02-21 03:25:55 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-21 08:25:55 +0000 |
| commit | 56b971ae1990f8b03603260801161caf0dfb84d7 (patch) | |
| tree | bb6a260859556f2b3ea4dbf0a8f62d74d98f84b1 /atuin-client/config.toml | |
| parent | chore(deps): bump lukemathwalker/cargo-chef (#1705) (diff) | |
| download | atuin-56b971ae1990f8b03603260801161caf0dfb84d7.zip | |
feat(client): add config option keys.scroll_exits (#1744)
* feat(client): add config option keys.scroll_exits
If the config option is set the `false`, using the up/down key won't
exit the TUI when scrolled past the first/last entry.
Example:
```
[keys]
scroll_exits = false
```
The default is `true`, which is the current behavior.
* Update atuin/src/command/client/search/interactive.rs
Co-authored-by: Koichi Murase <myoga.murase@gmail.com>
* refactor: add option to config.toml
---------
Co-authored-by: Koichi Murase <myoga.murase@gmail.com>
Diffstat (limited to 'atuin-client/config.toml')
| -rw-r--r-- | atuin-client/config.toml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/atuin-client/config.toml b/atuin-client/config.toml index 97c62881..1475b359 100644 --- a/atuin-client/config.toml +++ b/atuin-client/config.toml @@ -174,3 +174,7 @@ enter_accept = true ## Set commands that will be completely ignored from stats #ignored_commands = ["cd", "ls", "vi"] + +[keys] +# Defaults to true. If disabled, using the up/down key won't exit the TUI when scrolled past the first/last entry. +# scroll_exits = false |
