From 576789335a9ff7d62b7fb0d5ea897275ba95e8ab Mon Sep 17 00:00:00 2001 From: "Caio S. Rohwedder" Date: Wed, 23 Jul 2025 05:31:15 -0600 Subject: feat: add inline_height_shell_up_key_binding option (#2817) --- crates/atuin-client/config.toml | 5 +++++ crates/atuin-client/src/settings.rs | 1 + 2 files changed, 6 insertions(+) (limited to 'crates/atuin-client') 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, pub shell_up_key_binding: bool, pub inline_height: u16, + pub inline_height_shell_up_key_binding: Option, pub invert: bool, pub show_preview: bool, pub max_preview_height: u16, -- cgit v1.3.1