terminal: Make IME work with tab and enter keys (#27572)

… in the terminal.

Closes #23003

Release Notes:

- N/A

## Before fix:


https://github.com/user-attachments/assets/249ec62d-1461-4551-87b2-4259dba171f2


## After fix:



https://github.com/user-attachments/assets/2db624a0-8035-4260-9b2e-0cee83662b84
This commit is contained in:
Ishige 2025-03-29 05:44:02 +09:00 committed by GitHub
parent d0ae604eda
commit be657aefa3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -998,7 +998,7 @@ impl InputHandler for TerminalInputHandler {
}
fn marked_text_range(&mut self, _: &mut Window, _: &mut App) -> Option<std::ops::Range<usize>> {
None
Some(0..0)
}
fn text_for_range(