Daniel Csillag
Daniel Csillag
Just woke up to this! :smile: Okay, I can try `dup`ing into `/dev/tty`. But I have two questions: 1. How portable is `dup()`ing to `/dev/tty`? In particular, is it a...
Also, just to check, I'd be using `dup2`, not `dup`, right?
> dup2(), which is what you'll probably actually end up using, is UNIX Magic From Beyond the Dawn of Time, i.e. i'm pretty sure it precedes POSIX. it's certainly discussed...
> yep! sorry for being so slow in getting back to you on this; i saw your two code samples and filed this away as a "will have to go...
Quick question -- with what options should I open `/dev/tty`? write-only?
Ah, fair enough
I'll try that
> all you ought need is write, yeah, unless you don't lol LOL > like i'm not promising antyhing but the following might work: > ``` > #!/bin/sh > >...
> this is all contingent on neovim not redrawing the screen after it calls out, which it might do because of exactly this kind of thing. if that's the case,...
> I tried that, it sort of didn't work; I'll try to record a video, but essentially, instead of the escapes being interpreted by the terminal emulator, they were displayed...