aboutsummaryrefslogtreecommitdiff
path: root/helix-tui/src/buffer.rs
diff options
context:
space:
mode:
authorMichael Davis2023-03-29 03:51:11 +0000
committerGitHub2023-03-29 03:51:11 +0000
commitbbcdcd04a5f6c02c14d73d6bd0f53099b1fcb765 (patch)
treee245ec3da26d152de18f4528d150df41157181db /helix-tui/src/buffer.rs
parent6a323c0b1b8fd2491dcbca38b5a1f62bf9581da4 (diff)
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.
Diffstat (limited to 'helix-tui/src/buffer.rs')
0 files changed, 0 insertions, 0 deletions