@xterm/xterm 5.6.0-beta.38 → 5.6.0-beta.39
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/xterm.js +1 -1
- package/lib/xterm.js.map +1 -1
- package/package.json +1 -1
- package/src/browser/{Types.d.ts → Types.ts} +4 -4
- package/src/common/InputHandler.ts +1 -1
- package/src/common/{Types.d.ts → Types.ts} +2 -2
- /package/src/browser/renderer/shared/{Types.d.ts → Types.ts} +0 -0
- /package/src/browser/selection/{Types.d.ts → Types.ts} +0 -0
- /package/src/common/buffer/{Types.d.ts → Types.ts} +0 -0
- /package/src/common/parser/{Types.d.ts → Types.ts} +0 -0
package/package.json
CHANGED
|
@@ -129,7 +129,7 @@ export interface ILinkifier2 extends IDisposable {
|
|
|
129
129
|
readonly currentLink: ILinkWithState | undefined;
|
|
130
130
|
}
|
|
131
131
|
|
|
132
|
-
interface ILink {
|
|
132
|
+
export interface ILink {
|
|
133
133
|
range: IBufferRange;
|
|
134
134
|
text: string;
|
|
135
135
|
decorations?: ILinkDecorations;
|
|
@@ -139,17 +139,17 @@ interface ILink {
|
|
|
139
139
|
dispose?(): void;
|
|
140
140
|
}
|
|
141
141
|
|
|
142
|
-
interface ILinkDecorations {
|
|
142
|
+
export interface ILinkDecorations {
|
|
143
143
|
pointerCursor: boolean;
|
|
144
144
|
underline: boolean;
|
|
145
145
|
}
|
|
146
146
|
|
|
147
|
-
interface IBufferRange {
|
|
147
|
+
export interface IBufferRange {
|
|
148
148
|
start: IBufferCellPosition;
|
|
149
149
|
end: IBufferCellPosition;
|
|
150
150
|
}
|
|
151
151
|
|
|
152
|
-
interface IBufferCellPosition {
|
|
152
|
+
export interface IBufferCellPosition {
|
|
153
153
|
x: number;
|
|
154
154
|
y: number;
|
|
155
155
|
}
|
|
@@ -3456,6 +3456,6 @@ class DirtyRowTracker implements IDirtyRowTracker {
|
|
|
3456
3456
|
}
|
|
3457
3457
|
}
|
|
3458
3458
|
|
|
3459
|
-
function isValidColorIndex(value: number): value is ColorIndex {
|
|
3459
|
+
export function isValidColorIndex(value: number): value is ColorIndex {
|
|
3460
3460
|
return 0 <= value && value < 256;
|
|
3461
3461
|
}
|
|
@@ -425,8 +425,8 @@ type Enumerate<N extends number, Acc extends number[] = []> = Acc['length'] exte
|
|
|
425
425
|
: Enumerate<N, [...Acc, Acc['length']]>;
|
|
426
426
|
type IntRange<F extends number, T extends number> = Exclude<Enumerate<T>, Enumerate<F>>;
|
|
427
427
|
|
|
428
|
-
type ColorIndex = IntRange<0, 256>; // number from 0 to 255
|
|
429
|
-
type AllColorIndex = ColorIndex | SpecialColorIndex;
|
|
428
|
+
export type ColorIndex = IntRange<0, 256>; // number from 0 to 255
|
|
429
|
+
export type AllColorIndex = ColorIndex | SpecialColorIndex;
|
|
430
430
|
export const enum SpecialColorIndex {
|
|
431
431
|
FOREGROUND = 256,
|
|
432
432
|
BACKGROUND = 257,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|