9 Mar
2020
9 Mar
'20
9:48 a.m.
Hi,
+void console_hide_cursor(void) { + if(isatty(fileno(stdout))) { + printf("\x1B[?25l"); + }
This is an ioctl(2) each time. Can stdout be assumed not to change and just tested once? -- Cheers, Ralph.