mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-12-29 01:24:41 +00:00
terminal: note some search thread TODOs we can address later
This commit is contained in:
@@ -28,6 +28,13 @@ const ViewportSearch = @import("viewport.zig").ViewportSearch;
|
||||
|
||||
const log = std.log.scoped(.search_thread);
|
||||
|
||||
// TODO: Some stuff that could be improved:
|
||||
// - pause the refresh timer when the terminal isn't focused
|
||||
// - we probably want to know our progress through the search
|
||||
// for viewport matches so we can show n/total UI.
|
||||
// - notifications should be coalesced to avoid spamming a massive
|
||||
// amount of events if the terminal is changing rapidly.
|
||||
|
||||
/// The interval at which we refresh the terminal state to check if
|
||||
/// there are any changes that require us to re-search. This should be
|
||||
/// balanced to be fast enough to be responsive but not so fast that
|
||||
|
||||
Reference in New Issue
Block a user