Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |From 6d7584cc382fd24e5da92baf3ac333b5dda12f3c Mon Sep 17 00:00:00 2001 |From: Milos Nikic |Date: Thu, 8 Jan 2026 22:04:25 -0800 |Subject: [PATCH] st: alternative scrollback using ring buffer and view offset | |Implement scrollback as a fixed-size ring buffer and render history |by offsetting the view instead of copying screen contents. |Implement reflow of history and screen content on resizeif it is needed. | |Tradeoffs / differences: |- Scrollback is disabled on the alternate screen |- Simpler model than the existing scrollback patch set |- Mouse wheel scrolling enabled by default |- When using vim, mouse movement will no longer move the cursor. |- There can be visual artifacts if width of the window is shrank to the size smaller than the shell promp. |--- | config.def.h | 5 + | st.c | 710 ++++++++++++++++++++++++++++++++++++++++++++------- | st.h | 5 + | x.c | 17 ++ | 4 files changed, 644 insertions(+), 93 deletions(-) | |diff --git a/config.def.h b/config.def.h |index 2cd740a..a0b14e9 100644 |--- a/config.def.h |+++ b/config.def.h -------------------------- Patching file config.def.h using Plan A... Hunk #1 succeeded at 472. Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |diff --git a/st.c b/st.c |index e55e7b3..3f6b4a8 100644 |--- a/st.c |+++ b/st.c -------------------------- Patching file st.c using Plan A... Hunk #1 succeeded at 5. Hunk #2 succeeded at 179. Hunk #3 succeeded at 233. Hunk #4 succeeded at 778. Hunk #5 succeeded at 862. Hunk #6 succeeded at 891. Hunk #7 succeeded at 899. Hunk #8 succeeded at 914. Hunk #9 succeeded at 943. Hunk #10 succeeded at 964. Hunk #11 succeeded at 976. Hunk #12 succeeded at 1012. Hunk #13 succeeded at 1234. Hunk #14 succeeded at 1360. Hunk #15 succeeded at 1427. Hunk #16 succeeded at 1481. Hunk #17 succeeded at 1527. Hunk #18 succeeded at 2149. Hunk #19 succeeded at 2544. Hunk #20 succeeded at 2601. Hunk #21 succeeded at 3036 (offset -1 lines). Hunk #22 succeeded at 3179 (offset -1 lines). Hunk #23 succeeded at 3206 (offset -1 lines). Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |diff --git a/st.h b/st.h |index fd3b0d8..151d0c6 100644 |--- a/st.h |+++ b/st.h -------------------------- Patching file st.h using Plan A... Hunk #1 succeeded at 86. Hunk #2 succeeded at 112. Hunk #3 succeeded at 128. Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |diff --git a/x.c b/x.c |index d73152b..75f3db1 100644 |--- a/x.c |+++ b/x.c -------------------------- Patching file x.c using Plan A... Hunk #1 succeeded at 472. Hmm... Ignoring the trailing garbage. done