This commit is contained in:
Ayman Bagabas
2024-04-08 04:40:17 +03:00
parent 94648eb4e9
commit fad97bc4d5
11 changed files with 8 additions and 290 deletions
+1 -13
View File
@@ -9,7 +9,7 @@ import { Attributes, UnderlineStyle } from 'common/buffer/Constants'; // eslint-
import { IBufferSet } from 'common/buffer/Types';
import { IParams } from 'common/parser/Types';
import { ICoreMouseService, ICoreService, IOptionsService, IUnicodeService } from 'common/services/Services';
import { ClipboardSelectionType as ClipboardSelectionType, IFunctionIdentifier, ITerminalOptions as IPublicTerminalOptions } from '@xterm/xterm';
import { IFunctionIdentifier, ITerminalOptions as IPublicTerminalOptions } from '@xterm/xterm';
export interface ICoreTerminal {
coreMouseService: ICoreMouseService;
@@ -447,17 +447,6 @@ export interface IColorRestoreRequest {
}
export type IColorEvent = (IColorReportRequest | IColorSetRequest | IColorRestoreRequest)[];
export const enum ClipboardEventType {
REPORT = 0,
SET = 1
}
export interface IClipboardEvent {
type: ClipboardEventType;
selection: ClipboardSelectionType;
data: string;
}
/**
* Calls the parser and handles actions generated by the parser.
*/
@@ -527,7 +516,6 @@ export interface IInputHandler {
/** OSC 10 */ setOrReportFgColor(data: string): boolean;
/** OSC 11 */ setOrReportBgColor(data: string): boolean;
/** OSC 12 */ setOrReportCursorColor(data: string): boolean;
/** OSC 52 */ setOrReportClipboard(data: string): boolean;
/** OSC 104 */ restoreIndexedColor(data: string): boolean;
/** OSC 110 */ restoreFgColor(data: string): boolean;
/** OSC 111 */ restoreBgColor(data: string): boolean;