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