Make cursor_moved private
This commit is contained in:
parent
92cad6fe13
commit
7d26e332f0
2 changed files with 2 additions and 6 deletions
|
|
@ -30,7 +30,7 @@ fn main() {
|
|||
buffer.set_text(" Hi, Rust! 🦀", attrs);
|
||||
|
||||
// Perform shaping as desired
|
||||
buffer.shape_until_cursor();
|
||||
buffer.shape_until_scroll();
|
||||
|
||||
// Default text color (0xFF, 0xFF, 0xFF is white)
|
||||
let text_color = Color::rgb(0xFF, 0xFF, 0xFF);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue