having opened #emacs in terminal (-nw), how can i take a "text-only screenshot"? i mean, i could just select the text in the terminal and copy it. can i also do it from within emacs?
also, it'd be nice to have an "html screenshot", i.e. all text (including menu-bar, header-line, margins, mode-line, window separators and echo area) with approriate inline css styles for colors and underline etc. i remember a package for this but if i remember correctly, it only exports a buffer, not the tui-frame.
=> More informations about this toot | More toots from mekeor@catgirl.cloud
ah, htmlize is the package i was remembering: https://github.com/hniksic/emacs-htmlize
=> More informations about this toot | More toots from mekeor@catgirl.cloud
@mekeor For "text-only screenshot", do you mean copying the text to native OS clipboard (OSC 52) with (rectangle-mark-mode)?
I wrote about OSC 52 in Emacs previously: https://whhone.com/posts/emacs-in-a-termainl/#copy-text-to-native-clipboard--osc-52
=> More informations about this toot | More toots from whhone@social.whhone.com
@whhone thanks. clipetty could indeed be part of a solution. but i still need to find out how i can get the whole text of the emacs tui frame. with rectangle mark mode i will only be able to select text within a buffer. but i'd like to copy the whole tui frame, including mode-line etc.. i wonder if that's possible with pure elisp.
=> More informations about this toot | More toots from mekeor@catgirl.cloud
@mekeor Two ideas:
=> More informations about this toot | More toots from whhone@social.whhone.com This content has been proxied by September (3851b).Proxy Information
text/gemini