зеркало из
https://github.com/glebtv/tui-textarea.git
synced 2026-09-03 14:26:17 +03:00
fix rendering cursor at end of line
Этот коммит содержится в:
@@ -1015,6 +1015,9 @@ impl<'a> TextArea<'a> {
|
||||
|
||||
if boundaries.is_empty() {
|
||||
spans.push(Span::raw(self.replace_tabs(line)));
|
||||
if cursor_at_end {
|
||||
spans.push(Span::styled(" ", self.cursor_style));
|
||||
}
|
||||
return spans;
|
||||
}
|
||||
|
||||
|
||||
Ссылка в новой задаче
Block a user