keep whitespace chars

This commit is contained in:
Jörg Breitbart
2018-11-29 22:11:38 +01:00
parent 99e4a9649f
commit 9d4beb024a
5 changed files with 18 additions and 18 deletions
+4 -4
View File
@@ -17,14 +17,14 @@ export const CHAR_DATA_WIDTH_INDEX = 2;
export const CHAR_DATA_CODE_INDEX = 3;
export const MAX_BUFFER_SIZE = 4294967295; // 2^32 - 1
// export const NULL_CELL_CHAR = ' ';
// export const NULL_CELL_WIDTH = 1;
// export const NULL_CELL_CODE = 32;
export const NULL_CELL_CHAR = '';
export const NULL_CELL_WIDTH = 1;
export const NULL_CELL_CODE = 0;
export const WHITESPACE_CELL_CHAR = ' ';
export const WHITESPACE_CELL_WIDTH = 1;
export const WHITESPACE_CELL_CODE = 32;
/**
* This class represents a terminal buffer (an internal state of the terminal), where the
* following information is stored (in high-level):