forked from Mirrors/helix
tui: Handle keyboard enhancement check failure (#6438)
If the terminal doesn't send the primary device attributes response to the query, the `terminal::supports_keyboard_enhancement` function from crossterm may timeout and return an Err. We should interpret this error to mean that the terminal doesn't support the keyboard enhancement protocol rather than an error in claiming the terminal.feature/delete-command
parent
6a323c0b1b
commit
bbcdcd04a5
Loading…
Reference in New Issue