fix test fmt

This commit is contained in:
pap
2025-08-09 17:04:08 +01:00
parent ff652a9c65
commit 6eda9fc463

View File

@@ -918,7 +918,9 @@ mod tests {
assert_eq!(t.cursor(), t.text().len());
// Test using ctrl-f and ctrl-b for graphemes (byte indices)
use crossterm::event::{KeyCode, KeyEvent, KeyModifiers};
use crossterm::event::KeyCode;
use crossterm::event::KeyEvent;
use crossterm::event::KeyModifiers;
let mut t = ta_with("a👍b");
t.set_cursor(0);
t.input(KeyEvent::new(KeyCode::Char('f'), KeyModifiers::CONTROL)); // after 'a'