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

kx-kn color not not working in powershell windows #5

Closed
gaganyaan2 opened this issue Nov 1, 2022 · 2 comments
Closed

kx-kn color not not working in powershell windows #5

gaganyaan2 opened this issue Nov 1, 2022 · 2 comments
Assignees

Comments

@gaganyaan2
Copy link
Owner

instead of green color it's shows as ←[32mNAMESPACE←[0m

Switched namespace to "←[32mfalco←[0m"
PS C:\Users\> kn.exe
dev
default
[32mfalco←[0m
test

image

It works fine with Visual code Powershell.
Need to check better libs for color.

@gaganyaan2 gaganyaan2 self-assigned this Nov 3, 2022
@gaganyaan2
Copy link
Owner Author

@gaganyaan2
Copy link
Owner Author

fixed.

use colored::*;
//in function
control::set_virtual_terminal(true).unwrap();

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant