revert changes to interface ITerminalOptions
This commit is contained in:
@@ -199,27 +199,21 @@ export enum LogLevelEnum {
|
|||||||
OFF = 4
|
OFF = 4
|
||||||
}
|
}
|
||||||
export type RendererType = 'dom' | 'canvas';
|
export type RendererType = 'dom' | 'canvas';
|
||||||
export type BellStyle = 'none' | 'sound' /* | 'visual' | 'both' */;
|
|
||||||
export type CursorStyle = 'block' | 'underline' | 'bar';
|
|
||||||
export type FastScrollModifier = 'alt' | 'ctrl' | 'shift';
|
|
||||||
|
|
||||||
|
|
||||||
export interface ITerminalOptions {
|
export interface ITerminalOptions {
|
||||||
allowProposedApi: boolean;
|
allowProposedApi: boolean;
|
||||||
allowTransparency: boolean;
|
allowTransparency: boolean;
|
||||||
altClickMovesCursor: boolean;
|
altClickMovesCursor: boolean;
|
||||||
bellSound: string;
|
bellSound: string;
|
||||||
bellStyle: BellStyle;
|
bellStyle: 'none' | 'sound' /* | 'visual' | 'both' */;
|
||||||
cancelEvents: boolean;
|
|
||||||
cols: number;
|
cols: number;
|
||||||
convertEol: boolean;
|
|
||||||
cursorBlink: boolean;
|
cursorBlink: boolean;
|
||||||
cursorStyle: CursorStyle;
|
cursorStyle: 'block' | 'underline' | 'bar';
|
||||||
cursorWidth: number;
|
cursorWidth: number;
|
||||||
customGlyphs: boolean;
|
customGlyphs: boolean;
|
||||||
disableStdin: boolean;
|
disableStdin: boolean;
|
||||||
drawBoldTextInBrightColors: boolean;
|
drawBoldTextInBrightColors: boolean;
|
||||||
fastScrollModifier: FastScrollModifier | undefined;
|
fastScrollModifier: 'alt' | 'ctrl' | 'shift' | undefined;
|
||||||
fastScrollSensitivity: number;
|
fastScrollSensitivity: number;
|
||||||
fontSize: number;
|
fontSize: number;
|
||||||
fontFamily: string;
|
fontFamily: string;
|
||||||
@@ -239,13 +233,15 @@ export interface ITerminalOptions {
|
|||||||
scrollback: number;
|
scrollback: number;
|
||||||
scrollSensitivity: number;
|
scrollSensitivity: number;
|
||||||
tabStopWidth: number;
|
tabStopWidth: number;
|
||||||
termName: string;
|
|
||||||
theme: ITheme;
|
theme: ITheme;
|
||||||
windowsMode: boolean;
|
windowsMode: boolean;
|
||||||
windowOptions: IWindowOptions;
|
windowOptions: IWindowOptions;
|
||||||
wordSeparator: string;
|
wordSeparator: string;
|
||||||
|
|
||||||
[key: string]: any;
|
[key: string]: any;
|
||||||
|
cancelEvents: boolean;
|
||||||
|
convertEol: boolean;
|
||||||
|
termName: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface ITheme {
|
export interface ITheme {
|
||||||
|
|||||||
Reference in New Issue
Block a user