From 06ecb895f16b30381ca14c7640903637143e39f5 Mon Sep 17 00:00:00 2001 From: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Date: Tue, 6 Oct 2026 05:58:02 +0000 Subject: [PATCH] fix: don't show crosshair on Option when term:macoptionismeta is enabled MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit With term:macoptionismeta on, holding Option on macOS still switches xterm.js into column-select mode (crosshair cursor, Option+drag does a block selection), since SelectionService.shouldColumnSelect() only skips it when macOptionClickForcesSelection is set. Option is meant to act as Meta in this mode, so set macOptionClickForcesSelection alongside macOptionIsMeta. Co-Authored-By: Tobias Hochgürtel --- frontend/app/view/term/term.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/frontend/app/view/term/term.tsx b/frontend/app/view/term/term.tsx index 67eb5737c6..233d31fc3c 100644 --- a/frontend/app/view/term/term.tsx +++ b/frontend/app/view/term/term.tsx @@ -309,6 +309,8 @@ const TerminalView = ({ blockId, model }: ViewComponentProps) => allowProposedApi: true, // Required by @xterm/addon-search to enable search functionality and decorations ignoreBracketedPasteMode: !termAllowBPM, macOptionIsMeta: termMacOptionIsMeta, + // xterm.js enters column-select mode on Option (crosshair cursor) unless this is set + macOptionClickForcesSelection: termMacOptionIsMeta, cursorStyle: termCursorStyle, cursorBlink: termCursorBlink, overviewRuler: { width: 6 },