Add setting, clean up drawing, fix true color

This commit is contained in:
Daniel Imms
2021-08-18 06:44:13 -07:00
parent ca88476934
commit 9fb1ce11fb
6 changed files with 118 additions and 45 deletions
+8
View File
@@ -78,6 +78,14 @@ declare module 'xterm-headless' {
*/
cursorWidth?: number;
/**
* Whether to draw custom block element and box drawing characters instead of using the font.
* This should typically result in better rendering with continuous lines. Note that this
* doesn't work with the DOM renderer which renders all characters using the font. The default
* is true.
*/
customBlockAndBoxCharacters?: boolean;
/**
* Whether input should be disabled.
*/
+8
View File
@@ -90,6 +90,14 @@ declare module 'xterm' {
*/
cursorWidth?: number;
/**
* Whether to draw custom block element and box drawing characters instead of using the font.
* This should typically result in better rendering with continuous lines. Note that this
* doesn't work with the DOM renderer which renders all characters using the font. The default
* is true.
*/
customBlockAndBoxCharacters?: boolean;
/**
* Whether input should be disabled.
*/