Revert "tui: revert OpenTUI upgrade to 0.2.16 (#30383)" (#30452)

This commit is contained in:
Simon Klee
2026-06-02 20:49:31 +02:00
committed by GitHub
parent 1f2bcc22e3
commit 52ecc6d0f5
5 changed files with 22 additions and 23 deletions

View File

@@ -335,7 +335,6 @@ export async function createRuntimeLifecycle(input: LifecycleInput): Promise<Lif
}
footer.resetForReplay(true)
// @ts-expect-error resetSplitFooterForReplay is restored with the native OpenTUI update.
renderer.resetSplitFooterForReplay({ clearSavedLines: true })
const splash = splashInfo(next.sessionTitle ?? input.sessionTitle, next.history)
renderer.writeToScrollback(

View File

@@ -487,7 +487,7 @@ test.skip("direct footer dispatches leader variant binding only when leader is r
}
})
test.skip("direct footer keeps leader variant binding inactive when leader is disabled", async () => {
test("direct footer keeps leader variant binding inactive when leader is disabled", async () => {
const calls: string[] = []
const app = await renderFooter({
tuiConfig: createTuiResolvedConfig({ keybinds: { leader: "none", variant_cycle: "<leader>t" } }),