Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
- Fixed Copy menu item being disabled in the terminal context menu when text was selected by mouse drag while Claude Code's TUI had mouse reporting enabled

# 1.2.14 (2026-06-01)

- Fixed mode switching (e.g. auto → plan) becoming unreliable when Claude Code is actively working: the edit-mode selector now correctly reaches the target mode without overshooting
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>io.github.nbplugins</groupId>
<artifactId>netbeans-plugin-claude-code-gui</artifactId>
<version>1.2.18-SNAPSHOT</version>
<version>1.2.21-SNAPSHOT</version>
<packaging>nbm</packaging>
<name>Netbeans Plugin Claude Code GUI</name>
<description>NetBeans plugin that provides a GUI for Claude Code CLI — run claude code sessions directly inside the IDE.</description>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,4 +70,18 @@ public TextStyle getSelectionColor() {
public com.jediterm.terminal.emulator.ColorPalette getTerminalColorPalette() {
return ColorPaletteImpl.XTERM_PALETTE;
}

/**
* Forces JediTerm to treat mouse drags as local actions even when the
* running TUI (Claude Code) has enabled mouse reporting (DECSET 1000/1006).
* Without this, plain left-button drag is forwarded to the application
* instead of creating a text selection, so the right-click "Copy" menu item
* is permanently disabled (it is enabled iff {@code TerminalPanel.mySelection != null}).
* Claude Code's TUI does not rely on click-forwarding — option menus are
* handled separately by {@code ScreenContentDetector}/{@code ChoiceMenuPanel}.
*/
@Override
public boolean forceActionOnMouseReporting() {
return true;
}
}
Loading