upgrade opentui to v0.1.61

This commit is contained in:
Sebastian Herrlinger
2025-12-17 09:38:04 +01:00
parent 340e80257a
commit 73ad20b90c
4 changed files with 26 additions and 36 deletions

View File

@@ -147,6 +147,14 @@ export function tui(input: { url: string; args: Args; onExit?: () => Promise<voi
gatherStats: false,
exitOnCtrlC: false,
useKittyKeyboard: {},
consoleOptions: {
keyBindings: [{ name: "y", ctrl: true, action: "copy-selection" }],
onCopySelection: (text) => {
Clipboard.copy(text).catch((error) => {
console.error(`Failed to copy console selection to clipboard: ${error}`)
})
}
},
},
)
})