diff --git a/dev/lean_test.fish b/dev/lean_test.fish index 1532620..eaaadc8 100644 --- a/dev/lean_test.fish +++ b/dev/lean_test.fish @@ -65,7 +65,7 @@ function _help echo for option in $optionList echo -n ' -'$option - printf '\r\033[20C' + _cursor_right 20 set -l descriptionIndex (contains -i $option $optionList) echo $descriptionList[$descriptionIndex] end diff --git a/install.fish b/install.fish index 92a41f4..09e9f5b 100644 --- a/install.fish +++ b/install.fish @@ -27,6 +27,7 @@ function lean_install _set_lean_defaults # -----------------------Finish----------------------- + source "$__fish_config_dir/conf.d/lean_cursor_movement.fish" source "$__fish_config_dir/functions/fish_prompt.fish" set_color $lean_color_green diff --git a/lean_theme/functions/help.fish b/lean_theme/functions/help.fish index 8255d14..3d160b1 100644 --- a/lean_theme/functions/help.fish +++ b/lean_theme/functions/help.fish @@ -27,7 +27,7 @@ function lean_help -a subcommand echo for sub in $subcommandList echo -n ' '$b$sub$n - printf '\r\033[14C' + _cursor_right 14 _getDescription $sub end echo