@@ -127,6 +127,24 @@ export declare const brightBlue: (text: string) => string;
127
127
export declare const brightMagenta : ( text : string ) => string ;
128
128
export declare const brightCyan : ( text : string ) => string ;
129
129
export declare const brightWhite : ( text : string ) => string ;
130
+ export declare const bgWhite : ( text : string ) => string ;
131
+ export declare const bgBlack : ( text : string ) => string ;
132
+ export declare const bgBlue : ( text : string ) => string ;
133
+ export declare const bgCyan : ( text : string ) => string ;
134
+ export declare const bgGreen : ( text : string ) => string ;
135
+ export declare const bgMagenta : ( text : string ) => string ;
136
+ export declare const bgRed : ( text : string ) => string ;
137
+ export declare const bgYellow : ( text : string ) => string ;
138
+ export declare const bgGrey : ( text : string ) => string ;
139
+ export declare const bgGray : ( text : string ) => string ;
140
+ export declare const bgBrightBlack : ( text : string ) => string ;
141
+ export declare const bgBrightRed : ( text : string ) => string ;
142
+ export declare const bgBrightGreen : ( text : string ) => string ;
143
+ export declare const bgBrightYellow : ( text : string ) => string ;
144
+ export declare const bgBrightBlue : ( text : string ) => string ;
145
+ export declare const bgBrightMagenta : ( text : string ) => string ;
146
+ export declare const bgBrightCyan : ( text : string ) => string ;
147
+ export declare const bgBrightWhite : ( text : string ) => string ;
130
148
export type AskOptions = {
131
149
validation ?: ( answer : string ) => true | string ;
132
150
after ?: "preserve" | "clear" ;
@@ -161,6 +179,7 @@ export declare const cursorCodes: {
161
179
readonly nextLine : "E" ;
162
180
readonly previousLine : "F" ;
163
181
readonly horizontalAbsolute : "G" ;
182
+ readonly home : "H" ;
164
183
readonly eraseData : "J" ;
165
184
readonly eraseAfter : "0K" ;
166
185
readonly eraseBefore : "1K" ;
@@ -193,6 +212,7 @@ export declare class Cursor {
193
212
moveDown ( count ?: number ) : this;
194
213
moveUp ( count ?: number ) : this;
195
214
backToStart ( ) : this;
215
+ backToHome ( ) : this;
196
216
horizontalAbsolute ( count ?: number ) : this;
197
217
eraseBefore ( count ?: number ) : this;
198
218
eraseLine ( ) : this;
@@ -207,9 +227,9 @@ export declare class Cursor {
207
227
show ( ) : this;
208
228
backspace ( count ?: number ) : this;
209
229
alternate ( enabled : boolean ) : this;
230
+ jump ( name : string ) : this;
210
231
queryPosition ( ) : Promise < CursorPos > ;
211
232
bookmark ( name : string , pos ?: CursorPos ) : Promise < CursorPos > ;
212
- jump ( name : string ) : this;
213
233
}
214
234
export declare const cursor : Cursor ;
215
235
export declare function queryPosition ( ) : Promise < CursorPos > ;
0 commit comments