tui: auto-scroll to bottom when switching between sessions

This commit is contained in:
Dax Raad
2025-11-10 00:43:48 -05:00
parent eb855e1e31
commit 3ace8543b2

View File

@@ -626,6 +626,9 @@ export function Session() {
const dialog = useDialog()
const renderer = useRenderer()
// snap to bottom when session changes
createEffect(on(() => route.sessionID, toBottom))
return (
<context.Provider
value={{