1
0
зеркало из https://github.com/glebtv/tui-textarea.git synced 2026-09-03 06:16:17 +03:00
Этот коммит содержится в:
Yoshihiro Sugi
2024-07-14 22:14:31 +09:00
коммит произвёл GitHub
родитель 774f68c1b7
Коммит c54e8d458d

Просмотреть файл

@@ -363,7 +363,7 @@ cursor line with bold text.
use ratatui::style::{Style, Modifier};
let style = Style::default().add_modifier(Modifier::BOLD);
textarea.set_line_number_style(style);
textarea.set_cursor_line_style(style);
```
To disable cursor line style, set the default style as follows:
@@ -371,7 +371,7 @@ To disable cursor line style, set the default style as follows:
```rust,ignore
use ratatui::style::{Style, Modifier};
textarea.set_line_number_style(Style::default());
textarea.set_cursor_line_style(Style::default());
```
### Configure tab width