terminal/src/cascadia/TerminalConnection/ITerminalConnection.idl
Dustin Howett d4d59fa339 Initial release of the Windows Terminal source code
This commit introduces all of the Windows Terminal and Console Host source,
under the MIT license.
2019-05-02 15:29:04 -07:00

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();
};
}