Move origin mode into core service

This commit is contained in:
Daniel Imms
2019-12-18 11:20:36 +11:00
parent bff74b1d7d
commit dada7fe728
5 changed files with 7 additions and 6 deletions
+1
View File
@@ -59,6 +59,7 @@ export class MockCoreService implements ICoreService {
isFocused: boolean = false;
decPrivateModes: IDecPrivateModes = {
applicationCursorKeys: false,
origin: false,
wraparound: true
};
onData: IEvent<string> = new EventEmitter<string>().event;
+1
View File
@@ -152,6 +152,7 @@ export interface IMarker extends IDisposable {
export interface IDecPrivateModes {
applicationCursorKeys: boolean;
origin: boolean;
wraparound: boolean; // defaults: xterm - true, vt100 - false
}
+1
View File
@@ -10,6 +10,7 @@ import { clone } from 'common/Clone';
const DEFAULT_DEC_PRIVATE_MODES: IDecPrivateModes = Object.freeze({
applicationCursorKeys: false,
origin: false,
wraparound: true // defaults: xterm - true, vt100 - false
});