tsl0922 / ttyd

Share your terminal over the web
https://tsl0922.github.io/ttyd
MIT License
8.18k stars 898 forks source link

[Question] How can I select all text on console to copy it to a local file? #1384

Closed dts-1990 closed 4 months ago

dts-1990 commented 4 months ago

I want to copy all output text then copy to a local file to do searching/filtering purpose. How can I do that?

Currently the only way I can use is to use mouse to select text and scroll all the way top to down bottom of the console screen, then copy it by CTRL+C.

I've tried CTRL+A but it does not take any effect.

If possible, Search Box or Save Output button feature would be great

tsl0922 commented 4 months ago

Use pipe to redirect it to a file, then send the file with lrzsz.