terminal/src/cascadia/TerminalCore/ICoreSettings.idl
2021-09-02 13:54:02 -07:00

49 lines
1.1 KiB
Plaintext

// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
import "..\ICoreAppearance.idl";
namespace Microsoft.Terminal.Core
{
enum SelectionDirection
{
None = 0,
Left,
Right,
Up,
Down,
};
enum SelectionExpansion
{
Char,
Word,
Line, // Mouse selection only! Not a setting!
Viewport,
Buffer
};
interface ICoreSettings requires ICoreAppearance
{
// TODO:MSFT:20642297 - define a sentinel for Infinite Scrollback
Int32 HistorySize;
Int32 InitialRows;
Int32 InitialCols;
Boolean SnapOnInput;
Boolean AltGrAliasing;
String StartingTitle;
Boolean SuppressApplicationTitle;
String WordDelimiters;
Boolean ForceVTInput;
Boolean TrimBlockSelection;
Boolean DetectURLs;
Windows.Foundation.IReference<Microsoft.Terminal.Core.Color> TabColor;
Windows.Foundation.IReference<Microsoft.Terminal.Core.Color> StartingTabColor;
};
}