Code Monkey home page Code Monkey logo

Comments (9)

waf avatar waf commented on June 10, 2024 1

@cnluzhang thank you, that was very useful. I figured out the problem I think. Could you please download the latest version from the repository (direct link to zip file) and run the install.cmd from inside the ColorTool directory?

I believe the shortcut files in the start menu are caching some parts of the old theme. The "install.cmd" will remove that cache, so it loads colors from the registry as expected.

from powershell.

waf avatar waf commented on June 10, 2024

Thanks for the report! I'll upgrade shortly and see what's going on.

from powershell.

waf avatar waf commented on June 10, 2024

@cnluzhang I've just opened #13 which I think should fix the issue. Could you please try downloading the ColorTool.zip archive from that PR (direct link here)?

After running ColorTool.exe -b Dracula-ColorTool.itermcolors from the above download, you'll probably need to clear out any subkeys under HKEY_CURRENT_USER\Console\ (but don't delete the top level Console key):

Then when you start a new console, the theme should work. If it works for you, I'll submit a patch upstream to the ColorTool project so we don't need to maintain a special version. Thanks!

from powershell.

cnluzhang avatar cnluzhang commented on June 10, 2024

Sorry for my late reply.
It works on CMD, but the PowerShell shows like below.
image
The registry likes below.
image

from powershell.

waf avatar waf commented on June 10, 2024

Thanks for your help with troubleshooting this, @cnluzhang! I can't quite see it in your screenshot, but do you have a value called ScreenColors, and it's set to 7 like this?

image

If not, you can add it:

  1. Right Click -> New
  2. Choose DWORD
  3. Change the name to ScreenColors
  4. Right click ScreenColors -> Modify
  5. Change value to 7
  6. Close and open powershell

If that still doesn't work, I'd appreciate it if you export your registry values, Right click on "Console" -> Export and then send me the file.

Thanks!

from powershell.

cnluzhang avatar cnluzhang commented on June 10, 2024

Hi waf, I have already had the value, here is my exported file.

consolereg.txt

from powershell.

cnluzhang avatar cnluzhang commented on June 10, 2024

@waf The theme works well.
But I can't save the font configuration. Every time I apply the color theme and save the font, it goes back to Raster Fonts when I restart the powershell.

from powershell.

waf avatar waf commented on June 10, 2024

@cnluzhang sorry for the slow response. When you change the font, are you changing it in the "Defaults" menu item or the "Properties" item?

image

I've found there's some inconsistent behavior here, if you're changing it in "Properties" try changing it in "Defaults" or vice-versa.

from powershell.

waf avatar waf commented on June 10, 2024

@cnluzhang I'm going to resolve this issue, because the theme is working for 19H1. Feel free to open another issue if you're still having the raster font issue. Thanks!

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.