ZIm/crates/terminal/src
Kirill Bulatov f7e77123cc
Do not flicker when switching cmd-hovered words in terminal (#30098)
Closes https://github.com/zed-industries/zed/issues/25110


https://github.com/user-attachments/assets/4624c256-8dfb-48eb-a726-6cf130d946da

Terminal may update its hovered word way before reporting it to the
terminal view, and that processing the file check later.
Hence, store the terminal hover data in the terminal view and avoid
highlights when it's different from what the terminal has (as the source
of truth here).

In addition, now only does hover refreshes when the terminal hover
actually changes, not on every event report.

Release Notes:

- Fixed underline flicker when switching cmd-hovered words in terminal
2025-05-07 11:04:11 +00:00
..
mappings keymap: Allow upper-case keys in keybinds (#27813) 2025-03-31 22:31:01 +00:00
pty_info.rs Debugger implementation (#13433) 2025-03-18 12:55:25 -04:00
terminal.rs Do not flicker when switching cmd-hovered words in terminal (#30098) 2025-05-07 11:04:11 +00:00
terminal_settings.rs freebsd: Fix failure to build (#29587) 2025-04-28 23:55:49 -04:00