rust - How to make crossterm working the same as on Linux when using an application cross compiled? - Stack Overflow

I tried to cross-compile from Linux to Windows x86_64... it worked (far easier than doing this in C ^^)

I tried to cross-compile from Linux to Windows x86_64... it worked (far easier than doing this in C ^^) Problem is: either using cmd, powershell, ... none of the terminal emulations are working with ANSI :{ I fot to make the printscreens :{ It seems that crossterm crates works very good on Linux but on Windows... it seems the fact that Windows doesn't respect any standards is one clue to take in account...

No blocking input using read() function... on cmd... on powershell it seems that the terminal waits infinetly even if we give a key stroke for the read() :{ Have to CTRL-C the application to get the powershell back :{

I will do the printscreens and I get back.

On cmd, the utf8 characters are not displayed correctly :{ There is a panic when computing a simple utf8 character (2 bytes) printed uncorrectly :{

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744863207a4597824.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信