2019-05-03 00:29:04 +02:00
|
|
|
/*++
|
|
|
|
Copyright (c) Microsoft Corporation.
|
|
|
|
Licensed under the MIT license.
|
|
|
|
|
|
|
|
Module Name:
|
|
|
|
- DefaultSettings.h
|
|
|
|
|
|
|
|
Abstract:
|
|
|
|
- A header with a bunch of default values used for settings, especially for
|
|
|
|
terminal settings used by Cascadia
|
|
|
|
Author(s):
|
|
|
|
- Mike Griese - March 2019
|
|
|
|
|
|
|
|
--*/
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
constexpr COLORREF COLOR_WHITE = 0x00ffffff;
|
|
|
|
constexpr COLORREF COLOR_BLACK = 0x00000000;
|
|
|
|
constexpr COLORREF OPACITY_OPAQUE = 0xff000000;
|
|
|
|
|
|
|
|
constexpr COLORREF DEFAULT_FOREGROUND = COLOR_WHITE;
|
|
|
|
constexpr COLORREF DEFAULT_FOREGROUND_WITH_ALPHA = OPACITY_OPAQUE | DEFAULT_FOREGROUND;
|
|
|
|
constexpr COLORREF DEFAULT_BACKGROUND = COLOR_BLACK;
|
|
|
|
constexpr COLORREF DEFAULT_BACKGROUND_WITH_ALPHA = OPACITY_OPAQUE | DEFAULT_BACKGROUND;
|
2019-05-24 00:02:32 +02:00
|
|
|
|
|
|
|
constexpr COLORREF POWERSHELL_BLUE = RGB(1, 36, 86);
|
|
|
|
|
2019-05-03 00:29:04 +02:00
|
|
|
constexpr short DEFAULT_HISTORY_SIZE = 9001;
|
2019-09-03 23:30:40 +02:00
|
|
|
|
|
|
|
#pragma warning(push)
|
2019-09-04 01:18:19 +02:00
|
|
|
#pragma warning(disable : 26426)
|
2019-09-05 20:14:37 +02:00
|
|
|
// TODO GH 2674, don't disable this warning, move to std::wstring_view or something like that.
|
2020-03-25 22:52:34 +01:00
|
|
|
const std::wstring DEFAULT_FONT_FACE{ L"Cascadia Code" };
|
2019-08-29 18:47:01 +02:00
|
|
|
constexpr int DEFAULT_FONT_SIZE = 12;
|
2019-05-03 00:29:04 +02:00
|
|
|
|
|
|
|
constexpr int DEFAULT_ROWS = 30;
|
|
|
|
constexpr int DEFAULT_COLS = 120;
|
2020-01-06 18:39:02 +01:00
|
|
|
constexpr int DEFAULT_ROWSTOSCROLL = 0;
|
2019-05-03 00:29:04 +02:00
|
|
|
|
2019-08-29 18:47:01 +02:00
|
|
|
const std::wstring DEFAULT_PADDING{ L"8, 8, 8, 8" };
|
2019-05-03 00:29:04 +02:00
|
|
|
const std::wstring DEFAULT_STARTING_DIRECTORY{ L"%USERPROFILE%" };
|
|
|
|
|
|
|
|
constexpr COLORREF DEFAULT_CURSOR_COLOR = COLOR_WHITE;
|
|
|
|
constexpr COLORREF DEFAULT_CURSOR_HEIGHT = 25;
|
2019-07-12 01:06:18 +02:00
|
|
|
|
|
|
|
const std::wstring DEFAULT_WORD_DELIMITERS{ L" ./\\()\"'-:,.;<>~!@#$%^&*|+=[]{}~?\u2502" };
|
2019-09-03 23:30:40 +02:00
|
|
|
#pragma warning(pop)
|