From e3fd7cb6226cd89d82a2743e38a1a830d73e3564 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Veysel=20=C5=9Eahin?= Date: Wed, 13 Nov 2024 02:05:59 +0300 Subject: [PATCH] Enable allowProposedApi in XTerminal to fix Linux log search (#2558) Signed-off-by: Veysel Sahin Signed-off-by: Veysel Sahin --- frontend/src/components/common/LogViewer.tsx | 1 + frontend/src/components/common/Terminal.tsx | 1 + 2 files changed, 2 insertions(+) diff --git a/frontend/src/components/common/LogViewer.tsx b/frontend/src/components/common/LogViewer.tsx index b2a4d9a002..6d623529f9 100644 --- a/frontend/src/components/common/LogViewer.tsx +++ b/frontend/src/components/common/LogViewer.tsx @@ -77,6 +77,7 @@ export function LogViewer(props: LogViewerProps) { scrollback: 10000, rows: 30, // initial rows before fit lineHeight: 1.21, + allowProposedApi: true, }); if (!!outXtermRef) { diff --git a/frontend/src/components/common/Terminal.tsx b/frontend/src/components/common/Terminal.tsx index ca6a8afce9..51439789a2 100644 --- a/frontend/src/components/common/Terminal.tsx +++ b/frontend/src/components/common/Terminal.tsx @@ -246,6 +246,7 @@ export default function Terminal(props: TerminalProps) { scrollback: 10000, rows: 30, // initial rows before fit windowsMode: isWindows, + allowProposedApi: true, }), connected: false, reconnectOnEnter: false,