Skip to content

Conversation

@tessus
Copy link
Contributor

@tessus tessus commented Feb 21, 2024

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.

/ref https://forum.atuin.sh/t/add-option-to-stop-down-arrow-exiting-search/94

fixes #922

Checks

  • I am happy for maintainers to push small adjustments to this PR, to speed up the review cycle
  • I have checked that there are no existing pull requests for the same thing

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.
@atuin-bot
Copy link

This pull request has been mentioned on Atuin Community. There might be relevant details there:

https://forum.atuin.sh/t/add-option-to-stop-down-arrow-exiting-search/94/9

Copy link
Contributor

@akinomyoga akinomyoga left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The config scroll_exists should also be mentioned in atuin-client/config.toml.

Helmut K. C. Tessarek and others added 2 commits February 21, 2024 00:12
Copy link
Member

@ellie ellie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thank you!

Could we also get an update to the docs please? https://github.com/atuinsh/docs

Seeing as this is your first time contributing, if you would like a holographic contributors-only Atuin sticker, then please fill out this form!

@ellie ellie merged commit 56b971a into atuinsh:main Feb 21, 2024
@tessus

This comment was marked as spam.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature request: Make exit-on-down-arrow behavior optional

4 participants