Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows glitchy output when using lockbox #71

Closed
SonuBardai opened this issue Aug 31, 2023 · 1 comment
Closed

Windows glitchy output when using lockbox #71

SonuBardai opened this issue Aug 31, 2023 · 1 comment
Labels
bug Something isn't working Priority: High

Comments

@SonuBardai
Copy link
Owner

Output copied from windows command prompt

�[1mWelcome to L🦀CKBOX!
�[0m
Please enter the master password
�[33m>> �[0m

Enter [�[1;32m1�[0m] �[1;32madd�[0m password [�[1;32m2�[0m] �[1;32mgenerate�[0m random password [�[1;32m3�[0m] �[1;32mlist�[0m passwords [�[1;32m4�[0m] �[1;32mremove�[0m password [�[1;32m5�[0m] �[1;32mshow�[0m password [�[1;32m6�[0m] �[1;32mupdate master�[0m password [�[1;32m7�[0m] �[1;32mexit�[0m
�[33m>> �[0m^C

This is likely due to the fact that the Windows Command Prompt does not natively support ANSI escape codes, which are used by the colored crate to produce colored output.

Solution:

  • Try termcolor which supports cross-platform abstraction for colors. Sunset colored crate from lockbox.

Related to Issue: #61

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Priority: High
Projects
None yet
Development

No branches or pull requests

1 participant