Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Discussion options

You must be logged in to vote

Thank you for the praise! The lack of dependencies helps with getting this behavior right. crossterm is a good example for this, because it's not really a good abstraction over UNIX and Windows.

I'm one of the Windows console subsystem maintainers and how it reads input is what may be diplomatically described as "not good": https://github.com/crossterm-rs/crossterm/blob/6af9116b6a8ba365d8d8e7a806cbce318498b84d/src/event/source/windows.rs#L49-L51

Every single character you type, will trigger 4 syscalls. Your maximum throughput is then maybe? 10kB/s? People often complain to us that Windows Terminal is laggy - more often than not, they're unknowingly just using poorly written code. For fun,…

Replies: 1 comment 12 replies

Comment options

You must be logged in to vote
12 replies
@lhecker
Comment options

@axololly
Comment options

@lhecker
Comment options

@axololly
Comment options

@axololly
Comment options

Answer selected by lhecker
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #626 on August 25, 2025 19:52.