Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add docs for show_preview_auto #50

Merged
merged 3 commits into from
Jun 13, 2024
Merged

Conversation

tessus
Copy link
Contributor

@tessus tessus commented Apr 18, 2024

It seems that the next release will be 18.3.0.

preview

This section of the client config is specifically for configuring preview-related settings.
(In the future the other 2 preview settings will be moved here.)

[preview]
strategy = [...]

strategy

Atuin version: >= 18.3

Which preview strategy is used to calculate the preview height. It respects max_preview_height.

Value Preview height is calculated from the length of the
auto (default) selected command
static longest command in the current result set

By using auto a preview is shown, iff the command is longer than the width of the terminal.

@tessus tessus marked this pull request as ready for review June 6, 2024 03:26
@tessus
Copy link
Contributor Author

tessus commented Jun 6, 2024

Updated doc. It seems that the next release will be 18.3.0.

@tessus
Copy link
Contributor Author

tessus commented Jun 13, 2024

@ellie I think this is ready to be merged unless I messed up.

@ellie
Copy link
Member

ellie commented Jun 13, 2024

Thanks!

@ellie
Copy link
Member

ellie commented Jun 13, 2024

Could you resolve the conflicts please?

@ellie
Copy link
Member

ellie commented Jun 13, 2024

Thanks!

@ellie ellie merged commit e185d58 into atuinsh:main Jun 13, 2024
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.

2 participants