Created
December 30, 2014 07:37
-
-
Save saitoha/3a6c3bdcc45cf24ddcf1 to your computer and use it in GitHub Desktop.
XTerm #313: Fix default color register for VT-340 (https://github.com/saitoha/libsixel/issues/12)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- xterm-313/graphics.c 2014-11-29 06:00:04.000000000 +0900 | |
+++ xterm-313/graphics.c 2014-12-30 16:23:31.000000000 +0900 | |
@@ -587,22 +587,22 @@ | |
break; | |
case 340: | |
default: | |
- set_color_register(color_registers, 0, 0, 0, 0); | |
- set_color_register(color_registers, 1, 20, 20, 80); | |
- set_color_register(color_registers, 2, 80, 13, 13); | |
- set_color_register(color_registers, 3, 20, 80, 20); | |
- set_color_register(color_registers, 4, 80, 20, 80); | |
- set_color_register(color_registers, 5, 20, 80, 80); | |
- set_color_register(color_registers, 6, 80, 80, 20); | |
- set_color_register(color_registers, 7, 53, 53, 53); | |
- set_color_register(color_registers, 8, 26, 26, 26); | |
- set_color_register(color_registers, 9, 33, 33, 60); | |
- set_color_register(color_registers, 10, 60, 26, 26); | |
- set_color_register(color_registers, 11, 33, 60, 33); | |
- set_color_register(color_registers, 12, 60, 33, 60); | |
- set_color_register(color_registers, 13, 33, 60, 60); | |
- set_color_register(color_registers, 14, 60, 60, 33); | |
- set_color_register(color_registers, 15, 80, 80, 80); | |
+ set_color_register(color_registers, 0, 20, 20, 80); | |
+ set_color_register(color_registers, 1, 80, 13, 13); | |
+ set_color_register(color_registers, 2, 20, 80, 20); | |
+ set_color_register(color_registers, 3, 80, 20, 80); | |
+ set_color_register(color_registers, 4, 20, 80, 80); | |
+ set_color_register(color_registers, 5, 80, 80, 20); | |
+ set_color_register(color_registers, 6, 53, 53, 53); | |
+ set_color_register(color_registers, 7, 26, 26, 26); | |
+ set_color_register(color_registers, 8, 33, 33, 60); | |
+ set_color_register(color_registers, 9, 60, 26, 26); | |
+ set_color_register(color_registers, 10, 33, 60, 33); | |
+ set_color_register(color_registers, 11, 60, 33, 60); | |
+ set_color_register(color_registers, 12, 33, 60, 60); | |
+ set_color_register(color_registers, 13, 60, 60, 33); | |
+ set_color_register(color_registers, 14, 80, 80, 80); | |
+ set_color_register(color_registers, 15, 0, 0, 0); | |
break; | |
case 382: /* FIXME: verify */ | |
set_color_register(color_registers, 0, 0, 0, 0); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment