diff options
| author | Hilmar Wiegand <me@hwgnd.de> | 2023-05-22 13:10:11 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-05-22 11:10:11 +0000 |
| commit | d21b691bcfbd9ac32c456ac9ce39415a6c3a52dc (patch) | |
| tree | d27b355f6b961342cc0c149067aacb110c8919b6 /atuin-client | |
| parent | Input bar at the top if we are in inline mode (#866) (diff) | |
| download | atuin-d21b691bcfbd9ac32c456ac9ce39415a6c3a52dc.zip | |
Add option to completely disable help row (#993)
* Add option to completely disable help row
* Pass full settings object to draw command
* Add documentation for show_help
Diffstat (limited to 'atuin-client')
| -rw-r--r-- | atuin-client/src/settings.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/atuin-client/src/settings.rs b/atuin-client/src/settings.rs index 71f72730..524b2fd7 100644 --- a/atuin-client/src/settings.rs +++ b/atuin-client/src/settings.rs @@ -149,6 +149,7 @@ pub struct Settings { pub inline_height: u16, pub invert: bool, pub show_preview: bool, + pub show_help: bool, pub exit_mode: ExitMode, pub word_jump_mode: WordJumpMode, pub word_chars: String, @@ -337,6 +338,7 @@ impl Settings { .set_default("style", "auto")? .set_default("inline_height", 0)? .set_default("show_preview", false)? + .set_default("show_help", true)? .set_default("invert", false)? .set_default("exit_mode", "return-original")? .set_default("word_jump_mode", "emacs")? |
