From 5b5e4eaa865454134891fd1e45ad2b07b4015825 Mon Sep 17 00:00:00 2001 From: Ellie Huxtable Date: Sun, 21 May 2023 17:42:44 +0100 Subject: Input bar at the top if we are in inline mode (#866) * Put input chunk at the top in inline mode * Invert the search results if bar is at top * fix styling on reversed rendering * add setting * settings --------- Co-authored-by: Patrick Decat Co-authored-by: Conrad Ludgate --- atuin-client/src/settings.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'atuin-client/src') diff --git a/atuin-client/src/settings.rs b/atuin-client/src/settings.rs index 7da83913..71f72730 100644 --- a/atuin-client/src/settings.rs +++ b/atuin-client/src/settings.rs @@ -147,6 +147,7 @@ pub struct Settings { pub filter_mode_shell_up_key_binding: Option, pub shell_up_key_binding: bool, pub inline_height: u16, + pub invert: bool, pub show_preview: bool, pub exit_mode: ExitMode, pub word_jump_mode: WordJumpMode, @@ -336,6 +337,7 @@ impl Settings { .set_default("style", "auto")? .set_default("inline_height", 0)? .set_default("show_preview", false)? + .set_default("invert", false)? .set_default("exit_mode", "return-original")? .set_default("word_jump_mode", "emacs")? .set_default( -- cgit v1.3.1