mirror of
https://github.com/nushell/reedline.git
synced 2024-09-11 15:55:50 +03:00
Fix style in ide menu (#725)
* get correct cursor pos when menu indicator contains newline * add tests * fix cursor pos in multiline prompt * make description mode enum public * add doc comment * respect windows newline in update_values * Revert "respect windows newline in update_values" This reverts commit070d600545
. * add complete_with_base_ranges to Completer * add builder for correct_cursor_pos * add config options to completion examples * add style to ide menu * run fmt * start menu refactor * Revert "start menu refactor" This reverts commit62726f29be
. * fix style
This commit is contained in:
parent
03a1baba6c
commit
42bcd61b47
@ -561,11 +561,7 @@ impl IdeMenu {
|
|||||||
format!(
|
format!(
|
||||||
"{}{}{}{}{}{}{}{}",
|
"{}{}{}{}{}{}{}{}",
|
||||||
vertical_border,
|
vertical_border,
|
||||||
suggestion
|
suggestion.style.unwrap_or(self.color.text_style).prefix(),
|
||||||
.style
|
|
||||||
.unwrap_or(self.color.text_style)
|
|
||||||
.reverse()
|
|
||||||
.prefix(),
|
|
||||||
self.color.selected_text_style.prefix(),
|
self.color.selected_text_style.prefix(),
|
||||||
" ".repeat(padding),
|
" ".repeat(padding),
|
||||||
string,
|
string,
|
||||||
|
Loading…
Reference in New Issue
Block a user