first unit tests

This commit is contained in:
Jörg Breitbart
2023-07-27 11:25:57 +02:00
parent 4bd3e1d0c2
commit a5df5e7333
2 changed files with 106 additions and 2 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ const SELECTION_CLASS = 'xterm-selection';
let nextTerminalId = 1;
// font metrics calc settings
const enum FontMetrics {
export const enum FontMetrics {
START = 32, // start codepoint
MAX = 256, // only calc up to this codepoint (256 means only Basic Latin + Latin-1 Supplement)
BATCH_SIZE = 30, // amount of codepoints to calc in a single batch (sync & blocking)