Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot copy from soft-serve's out (via mouse in the terminal) #462

Open
curio77 opened this issue Jan 18, 2024 · 3 comments
Open

Cannot copy from soft-serve's out (via mouse in the terminal) #462

curio77 opened this issue Jan 18, 2024 · 3 comments

Comments

@curio77
Copy link

curio77 commented Jan 18, 2024

Describe the bug
For me, in Konsole/X11/Linux (but I'm pretty sure it's not specific), it's impossible to copy anything from soft-serve's output, in particular not the SSH clone commands. Being able to do so is something pretty elementary in a terminal and hence a pretty major issue, IMO. I suspect it's not a soft-serve issue but rather one of the underlying libraries, but I'm not familiar enough with the charmbracelet ecosystem to tell which.

To Reproduce
Steps to reproduce the behavior:

  1. Connect to a soft-serve host via SSH from a terminal/console; in my case, it's Konsole on X11 in Linux.
  2. See the list of repos, including SSH clone commands.
  3. Try to select one of the clone commands (or really anything) with the mouse (drag over it, double-click it) and realize this is not possible.
  4. Be disappointed because this should be a given in any terminal output. :-(

Expected behavior
I should be able to select text in general and the clone commands in particular, to copy and paste them.

Screenshots
—not helpful—

Environment (please complete the following information):

  • OS: Linux/Gentoo (up-to-date)
  • Terminal: Konsole (KDE/Plasma; v23.08.4)
  • Version: v0.7.4 (latest)

Additional context
—none—

@20after4
Copy link

Using the kitty terminal, I'm able to select text by holding down shift and dragging the mouse (as well as other purely keyboard-based selection methods)

Not sure if this works in konsole but it might.

@aymanbagabas
Copy link
Member

Hi @curio77,
This depends on the terminal you're using, different terminals have different key bindings to select text. According to the Konsole Handbook, "Pressing the Ctrl and Alt keys along with the left mouse button will select text in columns."

@curio77
Copy link
Author

curio77 commented Jun 21, 2024

Indeed, Ctrl + Shift (not Ctrl + Alt, though) works in Konsole. But it's curious that that's required, never had that with anything else.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants