aboutsummaryrefslogtreecommitdiffstats
path: root/crates/atuin-client
diff options
context:
space:
mode:
Diffstat (limited to 'crates/atuin-client')
-rw-r--r--crates/atuin-client/config.toml5
-rw-r--r--crates/atuin-client/src/settings.rs1
2 files changed, 6 insertions, 0 deletions
diff --git a/crates/atuin-client/config.toml b/crates/atuin-client/config.toml
index a154a65b..f87984f0 100644
--- a/crates/atuin-client/config.toml
+++ b/crates/atuin-client/config.toml
@@ -71,6 +71,11 @@
## set it to 0 to always go full screen
# inline_height = 0
+## the maximum number of lines the interface should take up
+## when atuin is invoked from a shell up-key binding
+## the accepted values are identical to those of "inline_height"
+# inline_height_shell_up_key_binding = 0
+
## Invert the UI - put the search bar at the top , Default to `false`
# invert = false
diff --git a/crates/atuin-client/src/settings.rs b/crates/atuin-client/src/settings.rs
index 88bf27d5..2ffba5e4 100644
--- a/crates/atuin-client/src/settings.rs
+++ b/crates/atuin-client/src/settings.rs
@@ -462,6 +462,7 @@ pub struct Settings {
pub search_mode_shell_up_key_binding: Option<SearchMode>,
pub shell_up_key_binding: bool,
pub inline_height: u16,
+ pub inline_height_shell_up_key_binding: Option<u16>,
pub invert: bool,
pub show_preview: bool,
pub max_preview_height: u16,