Snap the prompt to the top when you send in Grok Build
Snap the prompt to the top when you send in Grok Build
page_flip_on_send under [ui] controls whether the TUI jumps the just-sent prompt to the top of the viewport when you hit Enter. Official: Settings reference. Default is on.
Config
User config (~/.grok/config.toml or $GROK_HOME/config.toml):
[ui]
page_flip_on_send = true
Turn the snap off if you want the scroll position to stay put after send:
[ui]
page_flip_on_send = false
When each setting helps
Leave true when you want every new turn to start at a clean top-of-viewport. Set false when you are reading older scrollback while queuing follow-ups and the jump throws you off.
Related scroll controls
Speed, mode, lines-per-tick, and invert live on the same [ui] table: Tune scroll speed in Grok Build. Search instead of scrolling: Search scrollback with /find.
Pitfalls
- Putting
page_flip_on_sendin project.grok/config.toml— user config only. - Confusing this with multiline send keys (
Shift+Enter/Ctrl+M) — those change how you type newlines, not viewport snap after send.