mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
Merge from vscode c58aaab8a1cc22a7139b761166a0d4f37d41e998 (#7880)
* Merge from vscode c58aaab8a1cc22a7139b761166a0d4f37d41e998 * fix pipelines * fix strict-null-checks * add missing files
This commit is contained in:
51
src/typings/xterm.d.ts
vendored
51
src/typings/xterm.d.ts
vendored
@@ -82,6 +82,16 @@ declare module 'xterm' {
|
||||
*/
|
||||
drawBoldTextInBrightColors?: boolean;
|
||||
|
||||
/**
|
||||
* The modifier key hold to multiply scroll speed.
|
||||
*/
|
||||
fastScrollModifier?: 'alt' | 'ctrl' | 'shift' | undefined;
|
||||
|
||||
/**
|
||||
* The scroll speed multiplier used for fast scrolling.
|
||||
*/
|
||||
fastScrollSensitivity?: number;
|
||||
|
||||
/**
|
||||
* The font size used to render text.
|
||||
*/
|
||||
@@ -173,6 +183,11 @@ declare module 'xterm' {
|
||||
*/
|
||||
scrollback?: number;
|
||||
|
||||
/**
|
||||
* The scrolling speed multiplier used for adjusting normal scrolling speed.
|
||||
*/
|
||||
scrollSensitivity?: number;
|
||||
|
||||
/**
|
||||
* The size of tab stops in the terminal.
|
||||
*/
|
||||
@@ -269,7 +284,7 @@ declare module 'xterm' {
|
||||
/**
|
||||
* A callback that fires when the mouse hovers over a link for a moment.
|
||||
*/
|
||||
tooltipCallback?: (event: MouseEvent, uri: string) => boolean | void;
|
||||
tooltipCallback?: (event: MouseEvent, uri: string, location: IViewportRange) => boolean | void;
|
||||
|
||||
/**
|
||||
* A callback that fires when the mouse leaves a link. Note that this can
|
||||
@@ -352,12 +367,12 @@ declare module 'xterm' {
|
||||
/**
|
||||
* The element containing the terminal.
|
||||
*/
|
||||
readonly element: HTMLElement;
|
||||
readonly element: HTMLElement | undefined;
|
||||
|
||||
/**
|
||||
* The textarea that accepts input for the terminal.
|
||||
*/
|
||||
readonly textarea: HTMLTextAreaElement;
|
||||
readonly textarea: HTMLTextAreaElement | undefined;
|
||||
|
||||
/**
|
||||
* The number of rows in the terminal's viewport. Use
|
||||
@@ -842,6 +857,36 @@ declare module 'xterm' {
|
||||
endRow: number;
|
||||
}
|
||||
|
||||
/**
|
||||
* An object representing a range within the viewport of the terminal.
|
||||
*/
|
||||
interface IViewportRange {
|
||||
/**
|
||||
* The start cell of the range.
|
||||
*/
|
||||
start: IViewportCellPosition;
|
||||
|
||||
/**
|
||||
* The end cell of the range.
|
||||
*/
|
||||
end: IViewportCellPosition;
|
||||
}
|
||||
|
||||
/**
|
||||
* An object representing a cell position within the viewport of the terminal.
|
||||
*/
|
||||
interface IViewportCellPosition {
|
||||
/**
|
||||
* The column of the cell. Note that this is 1-based; the first column is column 1.
|
||||
*/
|
||||
col: number;
|
||||
|
||||
/**
|
||||
* The row of the cell. Note that this is 1-based; the first row is row 1.
|
||||
*/
|
||||
row: number;
|
||||
}
|
||||
|
||||
/**
|
||||
* Represents a terminal buffer.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user