Conversation
|
Hello, my name is Guenther, I'm not convenience in using. I downloadet a Version of TSR about Five Years go. Is that away to update, this Old Version to a Latest Version with One click? Can you sendto me a Link from where I can download TSR Latest Version question mark New line best regards, New line Guenthe
… Am 26.06.2026 um 12:54 schrieb Deon588 ***@***.***>:
This adds review of terminal scrollback history — lines that scroll off the top of the screen, which were previously lost (until now the only way to review long output was to pipe it through less).
What it does
Reading the previous line (alt u) past the top of the screen now continues up into captured history instead of stopping at "top".
alt t jumps to the start of the session's output; alt b jumps back to the bottom of the live screen.
Line, word, character review and copy all work on history lines exactly as they do on the visible screen.
How it works
Lines are captured as they scroll off the top, via a single hook in pyte's index() (which both linefeed() and scroll-up route through). History is a bounded collections.deque.
The review cursor uses negative row indices for history; one review_line() accessor routes every read to either history or the live buffer, so the existing review/copy code works unchanged.
Alternate-screen programs (vim, less, htop) are not recorded, and clear / tput reset drop the history — matching how a normal terminal behaves.
Configuration
scrollback_lines under [speech] sets how many lines to keep (default 10000), also settable live from the config menu (alt c, then b).
Tested on macOS (Terminal.app); ruff check passes.
You can view, comment on, or merge this pull request online at:
#61
Commit Summary
8bb03fb <8bb03fb> Add scrollback history review
File Changes (3 files <https://github.com/tspivey/tdsr/pull/61/files>)
M readme.md <https://github.com/tspivey/tdsr/pull/61/files#diff-5a831ea67cf5cf8703b0de46901ab25bd191f56b320053be9332d9a3b0d01d15> (19)
M tdsr/tdsr.cfg.dist <https://github.com/tspivey/tdsr/pull/61/files#diff-46a85842670eaa608654d3425af11350a3468b8c14f9e96b685f97b289e188b6> (2)
M tdsr/tdsr.py <https://github.com/tspivey/tdsr/pull/61/files#diff-325ca6c8057138cf69347173d3267983fd19f82b26d65184897a07c6c8736815> (137)
Patch Links:
https://github.com/tspivey/tdsr/pull/61.patch
https://github.com/tspivey/tdsr/pull/61.diff
—
Reply to this email directly, view it on GitHub <#61?email_source=notifications&email_token=AJNGVPIPK5AXAA2JG4NS2SL5BZI53A5CNFSNUABEM5UWIORPF5TWS5BNNB2WEL2QOVWGYUTFOF2WK43UF4ZTSNBRG4ZDCMZQG6THEZLBONXW5KTTOVRHGY3SNFRGKZFFMV3GK3TUVRTG633UMVZF6Y3MNFRWW>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AJNGVPJDROROMAOEG27NKKL5BZI53AVCNFSNUABEKJSXA33TNF2G64TZHM3TIMRSHA3DEMR3JFZXG5LFHM2DONJRGQYDGMZUHCQXMAQ>.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS <https://github.com/notifications/mobile/ios/AJNGVPIUAYCKHSKVC7KGOY35BZI53A5CNFSNUABEM5UWIORPF5TWS5BNNB2WEL2QOVWGYUTFOF2WK43UF4ZTSNBRG4ZDCMZQG6THEZLBONXW5KTTOVRHGY3SNFRGKZFFMV3GK3TUVJTG633UMVZF62LPOM> and Android <https://github.com/notifications/mobile/android/AJNGVPJS7TUZLYT4ZJCDUTL5BZI53A5CNFSNUABEM5UWIORPF5TWS5BNNB2WEL2QOVWGYUTFOF2WK43UF4ZTSNBRG4ZDCMZQG6THEZLBONXW5KTTOVRHGY3SNFRGKZFFMV3GK3TUVZTG633UMVZF6YLOMRZG62LE>. Download it today!
You are receiving this because you are subscribed to this thread.
|
Deon588
force-pushed
the
scrollback
branch
3 times, most recently
from
June 27, 2026 08:13
5537321 to
7313612
Compare
Capture lines that scroll off the top of the screen so they can be reviewed later instead of being lost. Reading the previous line (alt u) past the top of the screen now continues up into history; alt t jumps to the start of the session and alt b back to the bottom of the live screen. Line, word, character review and copy all work on history lines exactly as they do on the visible screen. History is a bounded ring buffer captured at pyte's scroll chokepoint (index, which linefeed and scroll-up both route through). The review cursor uses negative row indices for history, and a single review_line() accessor routes every read to history or the live buffer. Alternate-screen apps (vim/less/htop) are not recorded, and clear / tput reset drop the history, matching a normal terminal. The buffer size is set by scrollback_lines in the [speech] section (default 10000) or live from the config menu (alt c, then b). A multi-row copy selection now copies whole lines instead of truncating the last line at the review cursor's column, so copying a range of history lines (e.g. 1-10) yields them in full.
Owner
|
Thanks! Current bugs:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This adds review of terminal scrollback history — lines that scroll off the top of the screen, which were previously lost (until now the only way to review long output was to pipe it through
less).What it does
alt u) past the top of the screen now continues up into captured history instead of stopping at "top".alt tjumps to the start of the session's output;alt bjumps back to the bottom of the live screen.How it works
index()(which bothlinefeed()and scroll-up route through). History is a boundedcollections.deque.review_line()accessor routes every read to either history or the live buffer, so the existing review/copy code works unchanged.vim,less,htop) are not recorded, andclear/tput resetdrop the history — matching how a normal terminal behaves.Configuration
scrollback_linesunder[speech]sets how many lines to keep (default 10000), also settable live from the config menu (alt c, thenb).Tested on macOS (Terminal.app);
ruff checkpasses.