0
0

More than 3 years have passed since last update.

Windows Terminal - PuTTYっぽいcolor scheme

Posted at

Windows Terminalが出てから、
これまで使っていたPuTTYから、Windows Terminalを使うことが増えました。

まだまだtmuxとの相性が悪いWindows Terminalですが(スクロール利かない、再描画遅い)、
Unicode絵文字も問題なく表示できる長所もあり、愛用しています。

ColorScheme

PuTTYのColorSchemeをWindows Terminalで再現します。
ただし、PuTTYの青は非常に見づらいので、色を変えています。

下記をschemesの配列に追加します。

profiles.json
    // Add custom color schemes to this array
    "schemes": [
        {
            "name": "puttyCustom",
            "foreground": "#BBB",
            "background": "#000",
            "black": "#000",
            "red": "#BB0000",
            "green": "#00BB00",
            "yellow": "#BBBB00",
            "blue": "#8080FF",
            "purple": "#BB00BB",
            "cyan": "#00BBBB",
            "white": "#BBB",
            "brightBlack": "#555",
            "brightRed": "#FF5555",
            "brightGreen": "#55FF55",
            "brightYellow": "#FFFF55",
            "brightBlue": "#5555FF",
            "brightPurple": "#FF55FF",
            "brightCyan": "#55FFFF",
            "brightWhite": "#FFF"
        }
    ],

利用しているprofileのcolorSchemeに、上のnameを追加すればOKです。

profiles.json
        {
            "guid": "{c6eaf9f4-32a7-5fdc-b5cf-066e8a4b1e40}",
            "hidden": false,
            "name": "Ubuntu-18.04",
            "fontFace": "Consolas",
            "fontSize" : 9,
            "historySize" : 9001,
            "source": "Windows.Terminal.Wsl",
            "colorScheme": "puttyCustom"
        },

こんな感じです。

コメント 2020-03-13 175359.png

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0