最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

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

programmeradmin3浏览0评论

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 :{

与本文相关的文章

发布评论

评论列表(0)

  1. 暂无评论