зеркало из
https://github.com/glebtv/tui-textarea.git
synced 2026-09-03 22:35:50 +03:00
fix cursor line style is not applied when cursor is at end of line
Этот коммит содержится в:
@@ -1016,7 +1016,7 @@ impl<'a> TextArea<'a> {
|
||||
}
|
||||
|
||||
if boundaries.is_empty() {
|
||||
spans.push(Span::raw(self.replace_tabs(line)));
|
||||
spans.push(Span::styled(self.replace_tabs(line), style_begin));
|
||||
if cursor_at_end {
|
||||
spans.push(Span::styled(" ", self.cursor_style));
|
||||
}
|
||||
|
||||
Ссылка в новой задаче
Block a user