ImportC and color syntax highlighting

Walter Bright newshound2 at digitalmars.com
Sun Sep 12 09:23:06 UTC 2021


On 9/11/2021 4:04 PM, jfondren wrote:
> When running it, it pegs a CPU at 100% because it's constantly running 
> ttkeysininput(). That's enough to cause a fan to run at high speed on this 
> laptop. But, that's easily fixed with select() or similar against stdin.

I'm not too familiar with I/O on Linux. If you could modify ttkeysininput() to 
use select(), I'm interested to learn how it's done. Thanks!


More information about the Digitalmars-d mailing list