Timon

Results 210 comments of Timon

Just prevent system calls, especially flush operations.

Look into the 'queue' macro crossterm provides. Basically don't call 'stdout().flush()' every frame or use \n\r, those things cause a flush to the underlying output which is a system call...

Mio is only used for unix systems. Windows uses winapi for reading events.

We can fix this issue in #435. Though @mcobzarenco is right that when donig this we are going to make the API inconsistent.

Good question. The answer is not archived in my brain anymore. Let's reopen It until I know why ;)

I tried this branch but it gives me the wrong results. When pressing `Backspace` only or `Backspace with CTRL` I get only Backspace. When I change the code to be:...

Crossterm supports signal handling with resize events already. It looks like it is possible to integrate this behavior quite easily. I will take a look into your linked comment and...

Interesting, great work on your end! I wrote the `terminal` library which does a similar thing by abstracting terminal backends. Have you seen it? Maybe we can combine efforts there.