SiliconSloth / Metro

Simple and flexible version control and code syncing.
MIT License
1 stars 1 forks source link

ANSI error in Git Bash #63

Closed SiliconSloth closed 4 years ago

SiliconSloth commented 4 years ago

Issue Description

Running metro clone in Git Bash on Windows appears to run correctly for a bit, except that the progress bar is printed many times over rather than being overwritten. After reaching 100% it crashes and prints Internal Error: to enable ANSI, GetConsoleMode returned error code.

Progress: [=====================================================================================================================================================================================================================================Progress: [=====================================================================================================================================================================================================================================Progress: [=====================================================================================================================================================================================================================================Progress: [=====================================================================================================================================================================================================================================Progress: [=====================================================================================================================================================================================================================================Progress: [=====================================================================================================================================================================================================================================Progress: [=====================================================================================================================================================================================================================================Progress: [=====================================================================================================================================================================================================================================Progress: [==========================================================================================================================================================================================================================================================] 100% | 9.64MB | 313.64KB/s  Internal Error:  to enable ANSI, GetConsoleMode returned error code

Expected Behaviour

Clone repo as normal without errors.

Reproducibility

Run metro clone <url> in Git Bash on Windows.

System Details

Windows 10, in Git Bash

Release Version

Ccommit e09915d

Black-Photon commented 4 years ago

Specifically this is an issue with MinTTY. (CMD and Powershell are both fine)