←back to thread

538 points todsacerdoti | 1 comments | | HN request time: 0s | source
Show context
b0a04gl ◴[] No.44358586[source]
terminal scrollback is the only UI we don't treat as queryable state. op's setup shows how much context we're missing away a lot of rg output, file paths, stack traces, build logs they're all already right there in cluttered state.

if shells exposed a scrollback api with line refs and structural tagging, we could annotate paths, link to buffers, diff last two runs, all without re executing anything. that would cut through half the indirection in current workflows. tmux's regex jump is a hack but it hints at a deeper model. scrollback should be its own memory layer

replies(2): >>44358596 #>>44358757 #
jynelson ◴[] No.44358596[source]
yes!! one of the things i really want from a terminal is structured metadata, it allows you to build so much on top. right now anything remotely close requires parsing a bunch of ansi escapes.
replies(2): >>44358629 #>>44360949 #
1. abnercoimbre ◴[] No.44360949[source]
Interesting. You might (or might not, I'm not really sure!) become interested by Terminal Click [0]

If you want a comprehensive demo with even more features, I have one in this community video [1]

Anyone can email me if they're game: abner at terminal dot click

[0] https://terminal.click/posts/2025/04/the-wizard-and-his-shel...

[1] https://vimeo.com/1091637660 (6-minute mark)