diff options
| author | P T Weir <phil.weir@flaxandteal.co.uk> | 2024-10-07 16:54:07 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-10-07 08:54:07 -0700 |
| commit | 4c2d8201dccdf8571a71a6e969ca9557b1c5fdf2 (patch) | |
| tree | 79e2a5827224f36ec3a5edab65c9def087f22b4d /crates/atuin-client/src/settings.rs | |
| parent | fix(deps): pin tiny_bip to 1.0.0 until breaking change resolved (#2412) (diff) | |
| download | atuin-4c2d8201dccdf8571a71a6e969ca9557b1c5fdf2.zip | |
feat: Ultracompact Mode (search-only) (#2357)
* feat: add always_show_tabs setting
* feat(ultracompact): extra-compact options
* feat(ultracompact): enable via auto_hide_height
* feat(ultracompact): clarify comment
* fix(theming): minor tidyup to theming comment
* chore: rustfmt/clippy corrections
* chore: testing if CI issue was transient
Diffstat (limited to 'crates/atuin-client/src/settings.rs')
| -rw-r--r-- | crates/atuin-client/src/settings.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crates/atuin-client/src/settings.rs b/crates/atuin-client/src/settings.rs index 5fa319e7..efbdb33d 100644 --- a/crates/atuin-client/src/settings.rs +++ b/crates/atuin-client/src/settings.rs @@ -440,6 +440,7 @@ pub struct Settings { pub max_preview_height: u16, pub show_help: bool, pub show_tabs: bool, + pub auto_hide_height: u16, pub exit_mode: ExitMode, pub keymap_mode: KeymapMode, pub keymap_mode_shell: KeymapMode, @@ -722,6 +723,7 @@ impl Settings { .set_default("max_preview_height", 4)? .set_default("show_help", true)? .set_default("show_tabs", true)? + .set_default("auto_hide_height", 8)? .set_default("invert", false)? .set_default("exit_mode", "return-original")? .set_default("word_jump_mode", "emacs")? |
