This parameter was added as a workaround for our fast trackpad scrolling. Since that was fixed before 1.0 shipped, in #4554, it has been largely vestigial. There is no reason for us to keep it around any longer. It was also the only "logic" in TerminalSettings, which is otherwise a library that only transits data between two other libraries. I have not removed it from the schema, as I do not want to mark folks' settings files invalid to a strict schema parser. While I was in the area, I added support for "scroll one screen at a time" (which is represented by the API returning WHEEL_PAGESCROLL), fixing #5610. We were also storing it in an int (whoops) instead of a uint. Fixes #5610
40 lines
937 B
Plaintext
40 lines
937 B
Plaintext
// Copyright (c) Microsoft Corporation.
|
|
// Licensed under the MIT license.
|
|
|
|
namespace Microsoft.Terminal.Settings
|
|
{
|
|
enum CursorStyle
|
|
{
|
|
Vintage,
|
|
Bar,
|
|
Underscore,
|
|
FilledBox,
|
|
EmptyBox
|
|
};
|
|
|
|
interface ICoreSettings
|
|
{
|
|
UInt32 DefaultForeground;
|
|
UInt32 DefaultBackground;
|
|
UInt32 GetColorTableEntry(Int32 index);
|
|
void SetColorTableEntry(Int32 index, UInt32 value);
|
|
// TODO:MSFT:20642297 - define a sentinel for Infinite Scrollback
|
|
Int32 HistorySize;
|
|
Int32 InitialRows;
|
|
Int32 InitialCols;
|
|
|
|
Boolean SnapOnInput;
|
|
Boolean AltGrAliasing;
|
|
|
|
UInt32 CursorColor;
|
|
CursorStyle CursorShape;
|
|
UInt32 CursorHeight;
|
|
String StartingTitle;
|
|
Boolean SuppressApplicationTitle;
|
|
String WordDelimiters;
|
|
|
|
Boolean ForceVTInput;
|
|
};
|
|
|
|
}
|