Skip to content

Instantly share code, notes, and snippets.

@saitoha
Created December 6, 2013 12:29
Show Gist options
  • Save saitoha/7822989 to your computer and use it in GitHub Desktop.
Save saitoha/7822989 to your computer and use it in GitHub Desktop.
xterm: enable 256-colored sixel graphics for vt340 mode (with "-ti vt340" option)
--- xterm-300/graphics.c 2013-12-06 21:26:36.000000000 +0900
+++ xterm-300/graphics.c 2013-12-06 21:26:13.000000000 +0900
@@ -418,7 +418,7 @@
graphic->valid_registers = 4;
break;
case 340:
- graphic->valid_registers = 16;
+ graphic->valid_registers = 256;
break;
default:
graphic->valid_registers = 64; /* unknown graphics model -- might as well be generous */
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment