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-01-30 21:41:29 -05:00
2024-01-30 21:41:29 -05:00
2024-01-30 22:01:35 -05:00
2024-02-01 11:16:03 +01:00
2024-01-30 20:49:58 -05:00
2024-02-02 22:52:28 +02:00
2024-01-30 21:41:29 -05: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-30 14:08:20 -05:00
2024-01-30 21:41:29 -05:00
2024-01-31 16:21:33 -05:00
2024-02-01 18:39:28 +02:00
2024-01-31 11:42:09 -08:00
2024-01-30 21:41:29 -05:00
2024-01-30 22:01:35 -05:00
2024-02-05 22:03:44 +02:00
2024-01-30 21:41:29 -05:00
2024-01-31 15:46:24 -07:00
2024-02-05 13:26:42 -05:00
2024-01-30 21:41:29 -05:00
2024-01-27 13:38:55 +01:00
2024-01-30 16:10:35 +01:00
2024-01-30 21:41:29 -05:00
2024-01-30 21:41:29 -05:00
2024-02-05 14:48:54 -08:00
2024-01-30 21:41:29 -05:00
2024-01-30 21:41:29 -05:00
2024-01-30 21:41:29 -05:00
2024-02-02 12:10:42 +02:00
2024-01-30 21:41:29 -05:00
2024-02-01 18:39:28 +02:00
2024-01-30 21:41:29 -05:00
2024-01-30 21:41:29 -05:00
2024-02-03 22:35:57 +02:00
2024-02-01 09:07:01 -08:00
2024-01-30 21:41:29 -05:00
2024-01-29 23:47:20 -05:00
2024-02-02 12:10:42 +02:00
2024-01-30 21:41:29 -05:00
2024-01-30 21:41:29 -05:00
2024-01-30 21:41:29 -05:00
2024-02-05 14:01:06 +01:00
2024-01-30 21:41:29 -05:00
2024-01-30 21:41:29 -05:00
2024-01-30 21:41:29 -05:00
2024-02-01 18:39:28 +02:00
2024-02-02 11:38:09 +01:00
2024-02-02 11:17:46 +02:00
2024-02-01 18:39:28 +02:00
2024-02-03 22:40:54 +02:00
2024-01-30 22:01:35 -05:00
2024-01-30 21:41:29 -05:00
2024-01-31 15:46:24 -07:00
2024-02-02 16:51:05 +02:00
2024-01-30 21:41:29 -05:00
2024-01-31 12:05:51 -08:00
2024-01-30 22:01:35 -05:00
2024-01-30 22:01:35 -05:00
2024-01-31 15:46:24 -07:00
2024-01-29 23:47:20 -05:00
2024-01-30 21:41:29 -05:00
2024-01-30 21:41:29 -05:00
2024-01-30 21:41:29 -05:00
2024-01-30 21:41:29 -05:00
2024-01-29 23:47:20 -05:00
2024-02-03 17:04:27 +02:00
2024-02-06 10:31:01 +01:00
2024-01-30 21:41:29 -05:00
2024-02-05 15:39:01 -05:00
2024-02-02 12:09:05 -05:00
2024-02-05 15:39:01 -05:00
2024-02-05 13:21:07 -05:00
2024-02-03 17:04:27 +02:00
2024-01-30 21:41:29 -05:00
2024-02-02 19:24:36 -07:00
2024-01-30 21:41:29 -05:00
2024-02-05 15:21:18 -07:00
2024-02-06 10:14:50 +02:00
2024-01-29 23:50:31 -05:00