diff --git a/symbol.ts b/symbol.ts index 546b706..a2b844c 100644 --- a/symbol.ts +++ b/symbol.ts @@ -4,6 +4,7 @@ export enum Symbol { // on parse Newline = "%\\n", Tab = "%\\t", + Space = "%\\s", // on replace CursorEnd = "%\\e", } @@ -12,6 +13,7 @@ export namespace Symbol { const REPLACEABLE: Record = { [Symbol.Newline]: "\n", [Symbol.Tab]: "\t", + [Symbol.Space]: " ", }; // const ON_REPLACE: Record = { // [Symbol.CursorEnd]: "",