You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[FEATURE]: add a command to scroll back to the user's last message #4847
I have verified this feature I'm about to request hasn't been suggested before.
Describe the enhancement you want to request
Often I'll send a message to the model and switch windows or go AFK while the model proceeds to work and produce many pages of output. When I return, I'll want to review that output to see what it did.
Currently, I'll have to manually scroll back and forth until I find the last message I sent so that I can read on from there.
It would improve the ergonomics and UX if there were a command that would scroll the session back to the last message sent by the user. We could call it last_user_message or something like that?
I don't really care what key it's bound do, I can bind a key for it myself in my opencode.jsonc.
@rekram1-node I have, and you are correct that it can serve a somewhat similar purpose, but it is somewhat less ergonomic:
It requires at least two more keystrokes (<up> to wrap around from the top of the list to the bottom, followed by <enter> to select the entry in the list) to get to my last message.
since messages from plugins are also in the timeline, <up><enter>might not get you back to the last message you types: additional keystrokes - and, more importantly, additional time thinking to distinguish plugin messages from actual user messages - might be required in these cases.
I wanted a more ergonomic solution, that would allow me to mindlessly whack one single key to get to the last message that I had actually typed myself, without being distracted from whatever train of though I'd been previously thinking about on expending the mental effort the distinguis plugin-originated messages from actual user-typed messages and navigating to the correct entry: just whack one key and done, without any focus-breaking faffing about selecting from menu items.
Activity
github-actions commentedon Nov 28, 2025
This issue might be a duplicate of existing issues. Please check:
Feel free to ignore if none of these address your specific case.
rekram1-node commentedon Dec 2, 2025
Have you used /timeline @ariane-emory it kinda servers teh same purpose
ariane-emory commentedon Dec 2, 2025
@rekram1-node I have, and you are correct that it can serve a somewhat similar purpose, but it is somewhat less ergonomic:
<up>to wrap around from the top of the list to the bottom, followed by<enter>to select the entry in the list) to get to my last message.<up><enter>might not get you back to the last message you types: additional keystrokes - and, more importantly, additional time thinking to distinguish plugin messages from actual user messages - might be required in these cases.I wanted a more ergonomic solution, that would allow me to mindlessly whack one single key to get to the last message that I had actually typed myself, without being distracted from whatever train of though I'd been previously thinking about on expending the mental effort the distinguis plugin-originated messages from actual user-typed messages and navigating to the correct entry: just whack one key and done, without any focus-breaking faffing about selecting from menu items.
feat: add messages_last_user command to scroll TUI to last user messa…
sync: merge upstream v1.0.130 (#81)
sync: merge upstream v1.0.131 (#84)
feat: add messages_last_user command to scroll TUI to last user messa…
feat: add messages_last_user command to scroll TUI to last user messa…
feat: add messages_last_user command to scroll TUI to last user messa…
feat: add messages_last_user command to scroll TUI to last user messa…
feat: add messages_last_user command to scroll TUI to last user messa…