-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Visual glitches on Windows terminals #1748
Comments
#957 shows that the k6 output in PowerShell has some artifacts, like |
Seems like Jenkins might have some of the same issues: #1294 I'll rename this issue to be a more generic catch-all for all such visual glitches and UI problems in k6, so we don't have a bunch of related issues on the topic. And I guess the only "fix" for these would be to give users a way to disable them and use a simplified ASCII interface, e.g. via the proposed |
I have the same problem that has been reported, I do not understand how I can solve it ... my version of k6 is: Can you help me how to solve it? |
@victorinho, which of the multiple minor issues described here do you experience? Can you give a screenshot and some more details about your environment, like for example the terminal you use and the OS type and version? |
Hello @na-- ! My problem is that some characters appear wrong as seen in the image. My operating system is a windows 10 and the version of k6 is: v0.31.1 Thanks! |
We'll try to fix this in the next k6 version, but I'm not giving any promises... @victorinho, what terminal are you using to run k6? It seems like it doesn't support utf-8 |
@na-- I am using windows command console (cmd) Where can I run it from instead? Regards |
A more modern terminal like https://github.com/microsoft/terminal or https://cmder.net/ should work better. |
@na-- The user in https://community.k6.io/t/exporting-rate-to-json-looks-faulty/5707/14 mentions they can't use a more modern terminal and shares more details of what they see with powershell / command prompt and AzureDevOps. |
Hi, does anyone know how to solve this? I'm getting these odd characters, I'm running k6 on Azure DevOps Release Job Run Info: 2023-10-03T20:01:35.0002052Z Task : Command line |
When running
k6
(that exact command) in Command Prompt (CMD.exe), coloring breaks. There are no problems when running an actuall test (egk6 run ...
)Checkmark displayed for passed tests, is also "broken"
Running Command Prompt via Windows Terminal seems to negate both problems.
Environment
Expected Behavior
Colored k6 logo (as when running Command Prompt via Windows Terminal)
Checkmark in test result:
Actual Behavior
Characters intended to color output are visible(ish)
Boxed ? instead of checkmark in test result:
Steps to Reproduce the Problem
WIN+R
cmd
, click "Ok" (or press Enter)k6
, EnterThe text was updated successfully, but these errors were encountered: