Code Monkey home page Code Monkey logo

Comments (10)

 avatar commented on June 10, 2024 3

@dianligegege Not yet, but if you go to Powershell's window Properties, Colors and select the very first color square to background color, will work.

from powershell.

waf avatar waf commented on June 10, 2024 1

Just an update on this one, the ColorTool.exe is supposed to set the background color in the registry. I'm currently trying to figure out why that's not happening.

from powershell.

pjoe avatar pjoe commented on June 10, 2024 1

Ran into this as well.

FWIW: Here is the setting in the properties for matching the correct bg color:
image

from powershell.

pjoe avatar pjoe commented on June 10, 2024 1

Okay think I got it working here. Steps I took:

  1. Updated ColorTool.exe to latest version from https://github.com/microsoft/terminal/releases/tag/1904.29002

  2. Manually copied the .lnk files over to my start menu. Before I was also using a link pinned to the taskbar - might also have been the issue.

from powershell.

waf avatar waf commented on June 10, 2024

@joaosantana Hi, thanks for reporting the issue.
Would you be able to export the following registery key and share it with me?

HKEY_CURRENT_USER\Console

This will list your current console configurations to a plain-text file, so I can see the the details of the issue. Thanks!

from powershell.

 avatar commented on June 10, 2024

@waf Thank you for your quick response.

My HKCU/Console hive content:

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Console]
"CtrlKeyShortcutsDisabled"=dword:00000000
"CursorColor"=dword:ffffffff
"CursorSize"=dword:00000019
"DefaultBackground"=dword:ffffffff
"DefaultForeground"=dword:ffffffff
"EnableColorSelection"=dword:00000000
"ExtendedEditKey"=dword:00000001
"ExtendedEditKeyCustom"=dword:00000000
"FaceName"="Consolas"
"FilterOnPaste"=dword:00000001
"FontFamily"=dword:00000036
"FontSize"=dword:000e0000
"FontWeight"=dword:00000190
"ForceV2"=dword:00000001
"FullScreen"=dword:00000001
"HistoryBufferSize"=dword:00000032
"HistoryNoDup"=dword:00000000
"InsertMode"=dword:00000001
"LineSelection"=dword:00000001
"LineWrap"=dword:00000001
"LoadConIme"=dword:00000001
"NumberOfHistoryBuffers"=dword:00000004
"PopupColors"=dword:000000f5
"QuickEdit"=dword:00000001
"ScreenBufferSize"=dword:23290078
"ScreenColors"=dword:00000007
"ScrollScale"=dword:00000001
"TerminalScrolling"=dword:00000000
"TrimLeadingZeros"=dword:00000000
"WindowAlpha"=dword:000000ff
"WindowSize"=dword:001e0078
"WordDelimiters"=dword:00000000
"ColorTable00"=dword:00352826
"ColorTable01"=dword:00f892bc
"ColorTable02"=dword:007bf94f
"ColorTable03"=dword:00a47261
"ColorTable04"=dword:005454ff
"ColorTable05"=dword:00c579ff
"ColorTable06"=dword:006cb7ff
"ColorTable07"=dword:00f1f7f7
"ColorTable08"=dword:00545454
"ColorTable09"=dword:00f892bc
"ColorTable10"=dword:007bf94f
"ColorTable11"=dword:00fce88a
"ColorTable12"=dword:005454ff
"ColorTable13"=dword:00c579ff
"ColorTable14"=dword:008bf9f0
"ColorTable15"=dword:00ffffff
"CurrentPage"=dword:00000001

[HKEY_CURRENT_USER\Console\Git Bash]
"FaceName"="Lucida Console"
"FontFamily"=dword:00000036
"FontSize"=dword:000e0000
"FontWeight"=dword:00000190

[HKEY_CURRENT_USER\Console\Git CMD (Deprecated)]
"FaceName"="Lucida Console"
"FontFamily"=dword:00000036
"FontSize"=dword:000e0000
"FontWeight"=dword:00000190

from powershell.

 avatar commented on June 10, 2024

When i saw DefaultBackground value set tô 0xffffffff, I was thinking that the issue was with my machine. So I've do a clean install and tested in other three machines, with the same pink background result.

After select the very first tone in Properties, however, an uninstall.cmd followed by a new install.cmd command works as expected.

from powershell.

dianligegege avatar dianligegege commented on June 10, 2024

When i saw DefaultBackground value set tô 0xffffffff, I was thinking that the issue was with my machine. So I've do a clean install and tested in other three machines, with the same pink background result.

After select the very first tone in Properties, however, an uninstall.cmd followed by a new install.cmd command works as expected.

hey man,Is your problem solved? i have met the same question.

from powershell.

dianligegege avatar dianligegege commented on June 10, 2024

@joaosantana thanks so much ,that's works for me

from powershell.

pjoe avatar pjoe commented on June 10, 2024

Hmm on further check other colors are also wrong, and pretty unreadable (git info):

image

from powershell.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.