This commit introduces all of the Windows Terminal and Console Host source, under the MIT license.
21 lines
559 B
Plaintext
21 lines
559 B
Plaintext
// Copyright (c) Microsoft Corporation.
|
|
// Licensed under the MIT license.
|
|
|
|
namespace Microsoft.Terminal.TerminalConnection
|
|
{
|
|
delegate void TerminalOutputEventArgs(String output);
|
|
delegate void TerminalDisconnectedEventArgs();
|
|
|
|
interface ITerminalConnection
|
|
{
|
|
event TerminalOutputEventArgs TerminalOutput;
|
|
event TerminalDisconnectedEventArgs TerminalDisconnected;
|
|
|
|
void Start();
|
|
void WriteInput(String data);
|
|
void Resize(UInt32 rows, UInt32 columns);
|
|
void Close();
|
|
};
|
|
|
|
}
|