astefanutti / kubebox

⎈❏ Terminal and Web console for Kubernetes
http://astefanutti.github.io/kubebox
MIT License
2.15k stars 142 forks source link

Select pod log #17

Closed lcd1232 closed 3 years ago

lcd1232 commented 6 years ago

Add ability to select logs for copy selected text.

astefanutti commented 6 years ago

Would definitely be helpful! I can't reminder the countless time I tried copying from the log 😄.

Similar to #10 for clipboard integration.

johnpoth commented 5 years ago

As a poor consolation, you can always bypass the signal processing by pressing down "shift" and then select -> copy

593769290 commented 4 years ago

Is that possible to just using blessed-xterm to show log? blessed-xterm support clipboardy so well.

astefanutti commented 4 years ago

@593769290

Is that possible to just using blessed-xterm to show log ? blessed-xterm support clipboardy so well.

Yes, I had the same idea. I think it'd be possible to use the Xterm buffer instead of the Blessed one for the log widget, and reuse the clipboard integration we've developed for the remote terminal.

593769290 commented 4 years ago

so, we will hear some good news next week?

astefanutti commented 4 years ago

so, we will hear some good news next week?

I wish but that sounds very optimistic, unless you feel like helping 😉. I'll definitely look into it ASAP, as I share your pain!

593769290 commented 3 years ago

Dose something moves on about this issue?

waiting for select and copy log txt.

astefanutti commented 3 years ago

@593769290 It has yet to be worked on. We'll keep you posted.

astefanutti commented 3 years ago

I've just created #110 that switches the logs widget to using the Xterm.js buffer. This works very well. I'll factorize the clipboard integration so that this will be fixed soon.

astefanutti commented 3 years ago

It is fixed with c85478e270f67236f19971021f99d02769ad636b.