You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[feat] support to select the assistant's output text with the mouse #292
changed the title [-][bug] Unable to select the assistant's output text with the mouse[/-][+][feat] support to select the assistant's output text with the mouse[/+]on Jun 21, 2025
you definitely can select text that way, but you also copy everything else in the UI:
in tmux, you can use block copy and have a special pipe to parse it; this would probably be the goal if possible with bubbletea:
edit: actually this lazy pipe works with tmux
bind-key -T copy-mode-vi Y send-keys -X copy-pipe "tmux show-buffer | claude -p 'Clean up this text by removing trailing whitespace, connecting lines appropriately, and making it readable as a single coherent block of text. Return only the cleaned text with no additional commentary: ' | pbcopy"
if we're super lazy, we could just hijack the copy and clean up the text through a cheap LLM
I think it would be nice to have a copy option in the message, can be a command like /copy or maybe we can navigate the selected message through some keybind and then hit another keybind to copy it to clipboard.
Activity
[-][bug] Unable to select the assistant's output text with the mouse[/-][+][feat] support to select the assistant's output text with the mouse[/+]monotykamary commentedon Jun 21, 2025
FWIW, block mode tmux copying still works. Otherwise, the effort for this shouldn't be too big.
packages/tui/internal/tui/tui.goLow-Medium effort - the foundational work is already complete:
glamourApproximately 150-300 lines of Go code:
tui.gocravenceiling commentedon Jun 22, 2025
I think this is a duplicate of #212. You can select text by holding shift.
monotykamary commentedon Jun 22, 2025
you definitely can select text that way, but you also copy everything else in the UI:
in tmux, you can use block copy and have a special pipe to parse it; this would probably be the goal if possible with bubbletea:
edit: actually this lazy pipe works with tmux
if we're super lazy, we could just hijack the copy and clean up the text through a cheap LLM
orlandokj commentedon Jun 24, 2025
I think it would be nice to have a copy option in the message, can be a command like /copy or maybe we can navigate the selected message through some keybind and then hit another keybind to copy it to clipboard.
adamdotdevin commentedon Jul 16, 2025
taking the convo to #212
Merge branch 'shuvcode-dev' into integration
chore(config): governance and config foundation (anomalyco#292)
fix: precreate opencode config before engine start (anomalyco#292)