tui: allow full-session forks from the session dialog (#23339)

This commit is contained in:
Dax
2026-04-18 20:20:23 +00:00
committed by GitHub
parent 5eaef6b758
commit a26d53151b
2 changed files with 20 additions and 8 deletions
@@ -451,7 +451,7 @@ export function Session() {
},
},
{
title: "Fork from message",
title: "Fork session",
value: "session.fork",
keybind: "session_fork",
category: "Session",
@@ -462,6 +462,7 @@ export function Session() {
dialog.replace(() => (
<DialogForkFromTimeline
onMove={(messageID) => {
if (!messageID) return
const child = scroll.getChildren().find((child) => {
return child.id === messageID
})