1
0
зеркало из https://github.com/glebtv/tui-textarea.git synced 2026-09-03 14:26:17 +03:00

Merge pull request #70 from sugyan/patch-1

Update README.md
Этот коммит содержится в:
Linda_pp
2024-07-31 18:07:09 +09:00
коммит произвёл GitHub
родитель 774f68c1b7 c54e8d458d
Коммит 533443c3f2

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

@@ -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