Terminal panel: cannot copy output, and paste only works via Ctrl+V (no right-click copy/paste)
Internal - [BRU-3522]
I have checked the following:
- I have searched existing issues and found nothing related to my issue.
This bug is:
- Making Bruno unusable for me.
- Slowing me down but I'm able to continue working.
- Annoying.
- This feature was working in a previous version but is broken in the current release.
Bruno version
4.1.0
Operating System
Windows
Specific OS Version / Distro
Windows 11 Pro
Describe the bug
The built-in Terminal panel (Console/Network/Performance/Terminal tabs at the bottom of the app) does not support copying text out of it via any method - no right-click context menu appears on selected text, and standard copy shortcuts do not copy terminal output to the OS clipboard. Pasting INTO the terminal only works via Ctrl+V; right-click paste does not work either.
This makes it impossible to copy command output (e.g. error messages, test results) out of the built-in terminal to share elsewhere, forcing use of an external terminal instead - which defeats the purpose of having an integrated one.
Possibly related to the Terminal panel's xterm.js integration not including a clipboard/context-menu addon (e.g. @xterm/addon-clipboard) - happy to be corrected if that's off base.
Steps to reproduce
- Open Bruno and open any collection
- Click the "Terminal" tab in the bottom panel
- Run any command that produces output (e.g.
bru --versionordir) - Select some of the output text
- Right-click on the selection - no context menu with a "Copy" option appears
- Try Ctrl+C on the selection - text is not copied to the OS clipboard
- Try right-clicking to paste something into the terminal input - no "Paste" option appears
- Ctrl+V does work to paste into the terminal input
Expected: standard terminal clipboard behavior - right-click copy on a selection, right-click paste, and/or copy/paste working consistently across input methods.
Actual: only Ctrl+V paste works; there is no way to copy text out of the panel by any method tried.
Collection to reproduce
Not collection-specific - this reproduces with any open collection, since it's a property of the app's built-in Terminal panel itself, not of any particular collection, request, or script.
Screenshots/Live demo link
n/a
Source: usebruno/bruno