Tilt: Terminal UI flickers in Windows

Created on 24 Sep 2019  Β·  3Comments  Β·  Source: tilt-dev/tilt

According to quantumworks in #tilt:

For Windows, both command prompt and powershell flicker when using tilt. Is this a know issue?

https://kubernetes.slack.com/archives/CESBL84MV/p1569337430082900

bug

All 3 comments

ya, windows support is currently in alpha. This bug is noted in https://github.com/windmilleng/tilt/issues/1961, though i'm fine with having a separate bug for this particular problem.

Thanks all! For reference I am using Windows 10.

$PSVersionTable.PSVersion

Major  Minor  Build  Revision
-----  -----  -----  --------
5      1      17134  858

This appears to be fixed by deleting this line https://github.com/windmilleng/tilt/blob/c797633b582967e824747452d208233d0641634b/internal/rty/render.go#L24)

However, this causes a bunch of tests to fail like so:

test: non-growing box                                                                                             
actual:                                                                                                           
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”                                                                                                     
β”‚hello worldβ”‚                                                                                                     
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜                                                                                                     
β”‚worβ”‚                                                                                                             
β”‚ld β”‚                                                                                                             
β”‚   β”‚                                                                                                             
β”‚   β”‚                                                                                                             
β”‚   β”‚                                                                                                             
β”‚   β”‚                                                                                                             
β””β”€β”€β”€β”˜                                                                                                             











expected:                                                                                                         
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”                                                                                                     
β”‚hello worldβ”‚                                                                                                     
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜  

Seems like our tests depend on the screen being cleared during render, but that doesn't matter in real life. I can't really figure out how to fix the tests, maybe @nicks or @landism know more? Unassigning myself for now.

Was this page helpful?
0 / 5 - 0 ratings