Fix rename clipboard selection for clarity

This commit is contained in:
Ayman Bagabas
2023-09-21 10:33:44 -04:00
parent b22762b472
commit 092aeaeb6f
6 changed files with 27 additions and 27 deletions
+3 -3
View File
@@ -22,7 +22,7 @@ import { OscHandler } from 'common/parser/OscParser';
import { DcsHandler } from 'common/parser/DcsParser';
import { IBuffer } from 'common/buffer/Types';
import { parseColor } from 'common/input/XParseColor';
import { ClipboardSelection } from 'xterm';
import { ClipboardSelectionType } from 'xterm';
/**
* Map collect to glevel. Used in `selectCharset`.
@@ -3099,8 +3099,8 @@ export class InputHandler extends Disposable implements IInputHandler {
return true;
}
switch (pc) {
case ClipboardSelection.SYSTEM:
case ClipboardSelection.PRIMARY:
case ClipboardSelectionType.SYSTEM:
case ClipboardSelectionType.PRIMARY:
this._onClipboard.fire({
type: pd === '?' ? ClipboardEventType.REPORT : ClipboardEventType.SET,
selection: pc,