mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-16 08:46:08 +03:00
renderer: add comment why we have dead code
This commit is contained in:
@ -425,6 +425,10 @@ fn wakeupCallback(
|
|||||||
// Render immediately
|
// Render immediately
|
||||||
_ = renderCallback(t, undefined, undefined, {});
|
_ = renderCallback(t, undefined, undefined, {});
|
||||||
|
|
||||||
|
// The below is not used anymore but if we ever want to introduce
|
||||||
|
// a configuration to introduce a delay to coalesce renders, we can
|
||||||
|
// use this.
|
||||||
|
//
|
||||||
// // If the timer is already active then we don't have to do anything.
|
// // If the timer is already active then we don't have to do anything.
|
||||||
// if (t.render_c.state() == .active) return .rearm;
|
// if (t.render_c.state() == .active) return .rearm;
|
||||||
//
|
//
|
||||||
|
Reference in New Issue
Block a user