Live data from Hacker News

Show HN: Term.everything – Run any GUI app in the terminal

github.com

11–20 of 154 posts

Re: Show HN: Term.everything – Run any GUI app in the terminal

#15
post #10
post #8

This is so cool, thanks for sharing! Having this on a Mac would be great but I understand that this might be a huge undertaking :)

I definitely want to make a macOS version, but I haven’t even looked into it yet. So, I don’t know the level of hacking required. It definitely doesn’t sound like anything Apple would have an api for, so it would probably be a vnc or accessibility api trick.

I think there is an API (that was added with sidecar) to create a virtual display. So at best you could retrieve the framebuffer and then display that. I don't think there is an easy exposed way to get per-window information, aside from doing a screencapture (which likely would not work if you also wanted to hide the window).

Re: Show HN: Term.everything – Run any GUI app in the terminal

#20
post #10

Earlier quoted context omitted.

I definitely want to make a macOS version, but I haven’t even looked into it yet. So, I don’t know the level of hacking required. It definitely doesn’t sound like anything Apple would have an api for, so it would probably be a vnc or accessibility api trick.

I think there is an API (that was added with sidecar) to create a virtual display. So at best you could retrieve the framebuffer and then display that. I don't think there is an easy exposed way to get per-window information, aside from doing a screencapture (which likely would not work if you also wanted to hide the window).

Interesting… do you have a link to the docs? The easiest thing prob would be to set the window to be fullscreen, but on that virtual display. That would accomplish per window screen capture.
Post reply on HN