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 69b9c8a165
commit c0294b38f9
@@ -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={{