diff options
| author | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-06-02 02:27:14 +0300 |
|---|---|---|
| committer | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-06-02 02:31:12 +0300 |
| commit | cc527d45fe4821cb11c484372a9f25c51c02e078 (patch) | |
| tree | 2e3411b39576b0910eba75e2b5b77c5e4e398e74 /src/terminal/runtime.rs | |
| parent | f7d315d494b6a3d583574012526d15c1ddc82bfe (diff) | |
perf: retain terminal render updates
Diffstat (limited to 'src/terminal/runtime.rs')
| -rw-r--r-- | src/terminal/runtime.rs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/terminal/runtime.rs b/src/terminal/runtime.rs index 0fefe037..bfc8f3c6 100644 --- a/src/terminal/runtime.rs +++ b/src/terminal/runtime.rs @@ -273,6 +273,14 @@ impl TerminalRuntime { self.0.render(frame, area, show_cursor); } + pub(crate) fn collect_dirty_patch( + &self, + area_width: u16, + area_height: u16, + ) -> crate::pane::TerminalDirtyPatchOutcome { + self.0.collect_dirty_patch(area_width, area_height) + } + pub fn visible_hyperlinks(&self, area: Rect) -> Vec<((u16, u16), String, String)> { self.0.visible_hyperlinks(area) } @@ -378,6 +386,10 @@ impl TerminalRuntime { )) } + pub(crate) fn test_process_pty_bytes(&self, bytes: &[u8]) { + self.0.test_process_pty_bytes(bytes); + } + pub(crate) fn test_with_scrollback_bytes( cols: u16, rows: u16, |
