Skip to content

Commit

Permalink
lord
Browse files Browse the repository at this point in the history
  • Loading branch information
Kartik Raj committed Oct 4, 2023
1 parent dfba5e6 commit 0e526e8
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
3 changes: 1 addition & 2 deletions src/client/common/application/applicationShell.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ import {
SaveDialogOptions,
StatusBarAlignment,
StatusBarItem,
TerminalDataWriteEvent,
TextDocument,
TextEditor,
TreeView,
Expand All @@ -40,7 +39,7 @@ import {
WorkspaceFolderPickOptions,
} from 'vscode';
import { traceError } from '../../logging';
import { IApplicationShell } from './types';
import { IApplicationShell, TerminalDataWriteEvent } from './types';

@injectable()
export class ApplicationShell implements IApplicationShell {
Expand Down
12 changes: 11 additions & 1 deletion src/client/common/application/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ import {
StatusBarAlignment,
StatusBarItem,
Terminal,
TerminalDataWriteEvent,
TerminalOptions,
TextDocument,
TextDocumentChangeEvent,
Expand Down Expand Up @@ -68,6 +67,17 @@ import { Resource } from '../types';
import { ICommandNameArgumentTypeMapping } from './commands';
import { ExtensionContextKey } from './contextKeys';

export interface TerminalDataWriteEvent {
/**
* The {@link Terminal} for which the data was written.
*/
readonly terminal: Terminal;
/**
* The data being written.
*/
readonly data: string;
}

export const IApplicationShell = Symbol('IApplicationShell');
export interface IApplicationShell {
/**
Expand Down

0 comments on commit 0e526e8

Please sign in to comment.