Use opentui OSC52 clipboard, again (#11744)

This commit is contained in:
Sebastian
2026-02-02 08:12:50 +01:00
committed by GitHub
parent 76745d0594
commit 3982c7d99a
4 changed files with 25 additions and 27 deletions

View File

@@ -169,6 +169,7 @@ export function tui(input: {
gatherStats: false,
exitOnCtrlC: false,
useKittyKeyboard: {},
autoFocus: false,
consoleOptions: {
keyBindings: [{ name: "y", ctrl: true, action: "copy-selection" }],
onCopySelection: (text) => {
@@ -186,6 +187,7 @@ function App() {
const route = useRoute()
const dimensions = useTerminalDimensions()
const renderer = useRenderer()
Clipboard.setRenderer(renderer)
renderer.disableStdoutInterception()
const dialog = useDialog()
const local = useLocal()