-
-
Notifications
You must be signed in to change notification settings - Fork 288
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
CLI output is wonky #405
Comments
That's interesting! I thought that Powershell supported ANSI escape sequences. I found this article, for example. It looks like that's new in Powershell 7, though, and I'm not sure if the library for colored text that we're using in Alda is smart enough to recognize that environment and emit the right escape codes. Alda does support the standard |
I don't know of anything that we're doing in Alda that would behave differently there than other programs. Are there color theme settings that you can change, such that you can set them to the same color, e.g. black? |
I mean, blue is the default colour of PowerShell... Seems odd that it should overwrite the colour in this way |
Do other programs behave this way in PowerShell, too? |
Not that I know of. Alda 1 doesn't have this problem. |
That's interesting! I wonder if this might be a peculiarity of Go.
|
OK, interesting. My suspicion is that one of the Go libraries that we're using in the client is doing something strange. I don't have much bandwidth to devote to looking into this, but if a contributor felt like tackling this (or at least investigating further), it would be very much appreciated! |
Hi, I'd be willing to look into this! |
Am I allowed to use a different library instead of readline? |
I answered you on Slack already, but for visibility here:
|
🐞 Bug report 🐞
Description
I'll let the below image speak for itself:
Running the REPL causes PowerShell to recolour the screen in a weird way. Running this on cmd doesn't cause any recolouring, but you still get these
←[0m
and←[36m
strings appearing.The text was updated successfully, but these errors were encountered: