diff options
| author | akbash <akbash@herdr.dev> | 2026-08-13 03:46:52 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-08-13 03:46:52 +0300 |
| commit | 952729ee03e0939d7a9d893f87f24179cf0eb7cb (patch) | |
| tree | 54c518f3fc3517e8c3611c92583e7e764625e1db /src/pane | |
| parent | a4d52ab60282b2ad021cb90978a7ed4d3898704b (diff) | |
fix: preserve logical lines in scrollback editor (#2735)
refs #2733
Co-authored-by: akbash-bot <300245827+akbash-bot@users.noreply.github.com>
Co-authored-by: Can Celik <ogulcancelik@gmail.com>
Diffstat (limited to 'src/pane')
| -rw-r--r-- | src/pane/terminal.rs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/pane/terminal.rs b/src/pane/terminal.rs index 3524df21..b853f0b0 100644 --- a/src/pane/terminal.rs +++ b/src/pane/terminal.rs @@ -427,10 +427,6 @@ impl PaneTerminal { self.ghostty.detection_text() } - pub fn recent_text(&self, lines: usize) -> String { - self.ghostty.recent_text(lines) - } - pub(crate) fn recent_text_snapshot(&self, lines: usize) -> TerminalReadSnapshot { self.ghostty.recent_text_snapshot(lines) } @@ -1959,6 +1955,7 @@ impl GhosttyPaneTerminal { .unwrap_or_default() } + #[cfg(test)] pub fn recent_text(&self, lines: usize) -> String { self.recent_text_snapshot(lines).text } |
