2017-01-21 17:10:27 +00:00
|
|
|
import 'typings-global';
|
|
|
|
/**
|
|
|
|
* all the color names that are available for proper xterm translation
|
|
|
|
*/
|
2017-08-16 10:14:49 +00:00
|
|
|
export declare type TColorName = 'black' | 'blue' | 'brown' | 'cyan' | 'green' | 'orange' | 'pink' | 'red' | 'white';
|
2017-01-21 17:10:27 +00:00
|
|
|
export interface IRGB {
|
|
|
|
r: number;
|
|
|
|
b: number;
|
|
|
|
g: number;
|
|
|
|
}
|
|
|
|
/**
|
|
|
|
* color a string with xterm
|
|
|
|
*/
|
|
|
|
export declare let coloredString: (stringArg: string, colorFontArg: TColorName, colorBackgroundArg?: TColorName) => string;
|