v icon indicating copy to clipboard operation
v copied to clipboard

Running "V commands" changes the font of console in windows.

Open SakthiMahendran opened this issue 3 years ago • 10 comments

While using V commands it changes the font of the Command Prompt in windows.

V version: 0.3.0 OS: Windows 10

What did you do? Ran some V commands.

What did you expect to see? Execution of those commands.

What did you see instead? Executed but the console font is changed.

Edit: This only happens with "Windows Command Prompt" not with PowerShell.

SakthiMahendran avatar Jul 19 '22 03:07 SakthiMahendran

I have never seen this happen. Can you give specific examples?

JalonSolov avatar Jul 19 '22 11:07 JalonSolov

In addition to the examples you ran to reproduce, could you please share screenshots / screencast @SakthiMahendran?

ylluminate avatar Jul 19 '22 19:07 ylluminate

In addition to the examples you ran to reproduce, could you please share screenshots / screencast @SakthiMahendran?

Here is the screenshot....

Before: Before.PNG

After: After.PNG

There is a change in the font and also in the console window size.

What I guess is that the "v.exe" makes this changes to draw some fancy text while we run it without CLI arguments but it also makes this changes while we run some v commands (running with CLI arguments).

SakthiMahendran avatar Jul 20 '22 05:07 SakthiMahendran

In addition to the examples you ran to reproduce, could you please share screenshots / screencast @SakthiMahendran? Here is the screenshot...

Before

I have never seen this happen. Can you give specific examples?

SakthiMahendran avatar Jul 20 '22 06:07 SakthiMahendran

Can you try with PowerShell ISE and see if this persists? Or better yet, try Windows Terminal.

hungrybluedev avatar Jul 21 '22 13:07 hungrybluedev

Which terminal are you using? I don't recognize that one.

JalonSolov avatar Jul 21 '22 13:07 JalonSolov

Which terminal are you using? I don't recognize that one.

Command Prompt

SakthiMahendran avatar Jul 21 '22 13:07 SakthiMahendran

Can you try with PowerShell ISE and see if this persists? Or better yet, try Windows Terminal.

This is not happening with PowerShell

SakthiMahendran avatar Jul 21 '22 13:07 SakthiMahendran

With Windows Terminal as @hungrybluedev requested, you will find that you can start cmd.exe with it as well and therewith you can then test if this occurs there as well since it handles rendering differently. The idea, I believe, is to see if the issue is dependent for you upon using straight cmd.exe vs it within Windows Terminal...

ylluminate avatar Jul 21 '22 23:07 ylluminate

With Windows Terminal as @hungrybluedev requested, you will find that you can start cmd.exe with it as well and therewith you can then test if this occurs there as well since it handles rendering differently. The idea, I believe, is to see if the issue is dependent for you upon using straight cmd.exe vs it within Windows Terminal...

Unfortunately due to some technical issues I can't use "Windows Terminal" : (

SakthiMahendran avatar Jul 25 '22 05:07 SakthiMahendran

Update: Now I am seeing this happening with flutter too while running flutter commands.

SakthiMahendran avatar Nov 06 '22 05:11 SakthiMahendran