Cut and paste to/from exec shell #90
Replies: 6 comments
|
@GilchristT thank you for the kind words, it genuinely made my day to hear Klustr is already earning its place after only a few hours. On copy/paste: this is something the exec terminal should have supported from day one. If it doesn't work for you, I treat that as a bug, not a roadmap item. It works for me on macOS with Cmd+C / Cmd+V, so I'd like to narrow this down. Which OS and Klustr version are you on, and how did you try to copy and paste (Ctrl+C/V, Ctrl+Shift+C/V, right-click menu)? |
|
I've tried both the Windows and Debian versions although the Debian version was from a WSL2 instance so probably not a fair test. The Windows version was from commit 5a723d3 and running on Windows 11 25H2 I'll crawl under my desk at some point and reconnect one of my actual Debian desktops and test that natively. This is by no means a show-stopper for me, just looking to help make the product even better :-) tg |
|
@GilchristT thanks, the Windows 11 hint was exactly what I needed. You're right, it's a real bug, and Linux has it too. Your WSL2 test was a fair one by the way; WSLg runs the same WebKit, so no need to crawl under the desk :) Short version: on macOS ⌘C/⌘V come from the app's Edit menu, which is why it worked for me. Windows and Linux have no such menu; xterm sends Ctrl+C to the shell as SIGINT and Ctrl+V as The fix is in #91: Ctrl+Shift+C/V, Shift+Insert, Ctrl+C copies when there's a selection, plus a right-click menu. Tested on Linux, works. Since you're already building from source on Windows, could you give it a try? Multi-line paste and Ctrl+C still interrupting with nothing selected are the two things worth checking. Once you give it the thumbs up I'll merge and cut a release. |
|
You're a star Confirmed that cut and paste working on Windows. All the key combinations mentioned above work as expected plus the right-click menu. Many thanks |
|
Shipped in v0.78.0. Thanks again for the report and for testing the branch on Windows, @GilchristT. |
|
Out of interest, could the same fix also cover other keys with special functions within the terminal e.g. tab => command / file name completion Or is that a different kettle of fish? All very Linix specific but, if you're running Windows on K8s, you've bigger problems :-) |
Uh oh!
There was an error while loading. Please reload this page.
Firstly, this is a fantastic application. I've only been using it for a few hours but it's knocking my socks off. Many, many thanks for your work so far.
One thing I've noticed is that I can't cut from or paste into a pod in exec mode. I just wanted to check if (a) that's expected i.e. I'm not missing something and (b) if it's likely to be on the roadmap?
Thanks again for a great wee app
All reactions