tuiの単語境界カーソル移動実装

This commit is contained in:
2026-04-29 21:23:29 +09:00
parent dfb458cff2
commit 99dbb1c6c0
3 changed files with 265 additions and 0 deletions
+6
View File
@@ -404,6 +404,12 @@ impl App {
pub fn move_cursor_right(&mut self) {
self.input.move_right();
}
pub fn move_cursor_word_left(&mut self) {
self.input.move_word_left();
}
pub fn move_cursor_word_right(&mut self) {
self.input.move_word_right();
}
pub fn move_cursor_home(&mut self) {
self.input.move_home();
}