Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |From 55e224cf4d767db7d9184e70a0f3838935679a53 Mon Sep 17 00:00:00 2001 |From: Milos Nikic |Date: Thu, 15 Jan 2026 16:08:59 -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 resize if 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 | - Shift + page up/down and shift + end/home work as well. | - 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. | - Mouse selection is persistent even if it goes off screen but it get | reset on resize. |--- | config.def.h | 9 + | st.c | 727 ++++++++++++++++++++++++++++++++++++++++++++------- | st.h | 5 + | x.c | 17 ++ | 4 files changed, 659 insertions(+), 99 deletions(-) | |diff --git a/config.def.h b/config.def.h |index 2cd740a..135a0b1 100644 |--- a/config.def.h |+++ b/config.def.h -------------------------- Patching file config.def.h using Plan A... Hunk #1 succeeded at 192. Hunk #2 succeeded at 476. 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..9565003 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 775. Hunk #5 succeeded at 859. Hunk #6 succeeded at 888. Hunk #7 succeeded at 896. Hunk #8 succeeded at 911. Hunk #9 succeeded at 940. Hunk #10 succeeded at 961. Hunk #11 succeeded at 973. Hunk #12 succeeded at 1009. Hunk #13 succeeded at 1231. Hunk #14 succeeded at 1357. Hunk #15 succeeded at 1424. Hunk #16 succeeded at 1478. Hunk #17 succeeded at 1524. Hunk #18 succeeded at 1534. Hunk #19 succeeded at 2141. Hunk #20 succeeded at 2536. Hunk #21 succeeded at 2593. Hunk #22 succeeded at 3038 (offset -1 lines). Hunk #23 succeeded at 3184 (offset -1 lines). Hunk #24 succeeded at 3211 (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