diff options
author | Joe Wilm <joe@jwilm.com> | 2017-02-24 08:23:07 -0800 |
---|---|---|
committer | Joe Wilm <jwilm@users.noreply.github.com> | 2017-02-25 07:55:35 -0800 |
commit | 31ed5160a0b71f37c723d78b539003bc5227f184 (patch) | |
tree | c6581fb136ae531e5f917a2c1b6cab1e7628e969 /alacritty.yml | |
parent | fef965c121d30463adb1c88e91644b24751461da (diff) | |
download | alacritty-31ed5160a0b71f37c723d78b539003bc5227f184.tar.gz alacritty-31ed5160a0b71f37c723d78b539003bc5227f184.zip |
Change cursor colors config to use text and cursor
This changes the cursor color config to use the `text` and `cursor`
properties instead of the current `foreground` and `background`
properties. The latter names stop making sense when dealing with cursors
like a vertical bar or underscore. In the new system, the block,
underscore, or vertical bar would always take the color of `cursor`, and
the text would take the color of `text` when using a block, or keep its
normal color when using the underscore or vertical bar.
A warning is now emitted on startup when the old form of cursor color
config is used. This will be a hard error in the future.
Diffstat (limited to 'alacritty.yml')
-rw-r--r-- | alacritty.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/alacritty.yml b/alacritty.yml index 15ea4fa8..4ed6b036 100644 --- a/alacritty.yml +++ b/alacritty.yml @@ -79,8 +79,8 @@ colors: # Colors the cursor will use if `custom_cursor_colors` is true cursor: - background: '0xffffff' - foreground: '0x000000' + text: '0x000000' + cursor: '0xffffff' # Normal colors normal: |