Add support to render right prompt on last line of the prompt (#6781)

* Add support to render right prompt on last line of the prompt

* reset reedline to main branch

* update reedline to fix right prompt to be rendered correctly

* reset reedline to main branch again
This commit is contained in:
nibon7
2022-10-23 22:18:26 +08:00
committed by GitHub
parent 17b2bcc125
commit ebca840d91
8 changed files with 31 additions and 6 deletions

View File

@@ -128,6 +128,7 @@ pub(crate) fn update_prompt<'prompt>(
prompt_indicator_string,
prompt_multiline_string,
(prompt_vi_insert_string, prompt_vi_normal_string),
config.render_right_prompt_on_last_line,
);
let ret_val = nu_prompt as &dyn Prompt;