GithubHelp home page GithubHelp logo

Comments (4)

zadjii-msft avatar zadjii-msft commented on June 24, 2024

Could you share your settings.json file/?


for my own reference:

@rem 18.04
sudo type "c:\Program Files\WindowsApps\CanonicalGroupLimited.Ubuntu18.04onWindows_1804.2020.827.0_x64__79rhkp1fndgsc\Terminal\Fragments\terminal.json"

@rem 22.04
sudo type "c:\Program Files\WindowsApps\CanonicalGroupLimited.Ubuntu22.04LTS_2204.3.63.0_x64__79rhkp1fndgsc\Terminal\Fragments\terminal.json"
``

```jsonc
{
    "profiles": [
      {
        "updates": "{17bf3de4-5353-5709-bcf9-835bd952a95e}",
        // We have to hide this autogenerated profile as we can't change the name of existing profiles.
        // This would use WSLID like "Ubuntu-20.04" which is hard to read.
        "hidden": true
      },
      {
        "name": "Ubuntu 22.04.3 LTS",
        "colorScheme": "Ubuntu-22.04-ColorScheme",
        "commandline": "ubuntu2204.exe",
        "tabTitle": "Ubuntu 22.04.3 LTS",
        // This would be the idea once https://github.com/microsoft/terminal/issues/10359 is fixed.
        // "icon": "ms-appx:///Assets/Square44x44Logo.targetsize-32.png",
        "icon": "https://assets.ubuntu.com/v1/49a1a858-favicon-32x32.png",
        "cursorShape": "filledBox",
        "font": {
          // Not possible right now as we have multiple appx which could ship it and needs a store
          // permission: https://docs.microsoft.com/en-us/windows/apps/desktop/modernize/desktop-to-uwp-extensions#share-fonts-with-other-windows-applications
          // Also, referencing it if it does not exist will show an error message when opening
          // the profile.
          //"face": "Ubuntu Mono",
          "face": "Cascadia Mono",
          "size": 13
        }
      }
    ],
    "schemes": [
      {
        "name": "Ubuntu-22.04-ColorScheme",

        "background": "#300A24",
        "black": "#171421",
        "blue": "#0037DA",
        "brightBlack": "#767676",
        "brightBlue": "#08458F",
        "brightCyan": "#2C9FB3",
        "brightGreen": "#26A269",
        "brightPurple": "#A347BA",
        "brightRed": "#C01C28",
        "brightWhite": "#F2F2F2",
        "brightYellow": "#A2734C",
        "cursorColor": "#FFFFFF",
        "cyan": "#3A96DD",
        "foreground": "#FFFFFF",
        "green": "#26A269",
        "purple": "#881798",
        "red": "#C21A23",
        "selectionBackground": "#FFFFFF",
        "white": "#CCCCCC",
        "yellow": "#A2734C"
      }
    ]
  }

There's no second cursor color in the profile, so that rules that out

from terminal.

lhecker avatar lhecker commented on June 24, 2024

When the cursor color is #ffffff we treat it as a "inverted color" cursor. It's basically a hack that has existed for a quite a while now. We need a profile setting that says "I want inverted/reversed/colored cursors" and it would default to inverted.

from terminal.

jkim439 avatar jkim439 commented on June 24, 2024

Only "#FFFFFF" will be displayed "#CFF5DB".

This is my settings.json.
settings.json

from terminal.

zadjii-msft avatar zadjii-msft commented on June 24, 2024

op yea forgot about cursor inverting. That explains it. I suppose then that this is sorta like #7118 - we need an explicit setting to control whether to invert the cursor or not.

For now, you can just set the cursorColor to #fffffe, and that should be white enough 😉

from terminal.

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.