Files
oak-gpui/crates
Thorsten Ball c591681bad Fix Terminal focus handlers not being called (#7428)
This fixes #7401 and probably a few other things that seemed odd with
the terminal.

Turns out that `TerminalView` has `focus_in` and `focus_out` callbacks,
but they were never called. The `focus_handle` on which they were set
was not passed in to `TerminalView`.

That meant that the `impl FocusableView for TerminalView` never returned
the focus handle with the right callbacks.

This change here uses the already created focus handle and passes it in,
so that `focus_in` and `focus_out` are now correctly called.

Release Notes:

- Fixed terminal not handling focus-state correctly and, for example,
not restoring cursor blinking state correctly.
([#7401](https://github.com/zed-industries/zed/issues/7401)).
2024-02-06 10:31:01 +01:00
..
2024-02-02 09:52:30 -07:00
2024-02-01 22:22:02 -07:00
2024-01-29 23:47:20 -05:00
2024-02-02 19:24:49 -07:00
2024-01-29 23:47:20 -05:00
2024-02-05 15:12:25 -07:00
2024-02-05 15:12:25 -07:00
2024-01-31 15:46:24 -07:00
2024-01-29 23:47:20 -05:00
2024-02-05 14:01:06 +01:00
2024-01-31 15:46:24 -07:00
2024-01-29 23:47:20 -05:00
2024-02-02 19:24:36 -07:00