On 9/3/20 7:48 pm, Ralph Corderoy wrote:
> 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?

This is only called when pacman wants input.  Which is a small number of
times in a transaction, and the human is the rate limiting step.

Reply via email to