Merge remote-tracking branch 'origin/main' into feature/llm

This commit is contained in:
Console Service Bot 2025-11-26 02:31:33 +00:00
commit bd5da6144d
6 changed files with 18 additions and 4 deletions

View File

@ -26,7 +26,12 @@
"/doc/user-docs/",
"/src/tools/ansi-color/",
"/src/tools/ColorTool/",
"/src/tools/scratch/",
"/src/tools/ConsoleBench/",
"/src/tools/schemes-fragment/",
"/scratch/",
"/tools/ReleaseEngineering/",
"/policies/",
"Scratch.sln",
],
"SuffixFilters": [
@ -44,6 +49,11 @@
".rec",
".err",
"XamlStyler.json",
".xlsx"
".xlsx",
".vcxproj",
".vcxproj.filters",
".Build.props",
".Build.targets",
"OpenConsole.slnx"
]
}

View File

@ -624,7 +624,7 @@ void IslandWindow::_OnGetMinMaxInfo(const WPARAM /*wParam*/, const LPARAM lParam
const auto scale = GetCurrentDpiScale();
const winrt::Windows::Foundation::Point real{ relative.x / scale, relative.y / scale };
winrt::Microsoft::Terminal::Core::Point wheelDelta{ 0, static_cast<int32_t>(HIWORD(wparam)) };
winrt::Microsoft::Terminal::Core::Point wheelDelta{ 0, std::bit_cast<int16_t>(HIWORD(wparam)) };
if (message == WM_MOUSEHWHEEL)
{
std::swap(wheelDelta.X, wheelDelta.Y);

View File

@ -1,2 +0,0 @@
DIRS=\
fmt \

View File

@ -81,6 +81,7 @@ SOURCES = \
..\writeData.cpp \
..\renderData.cpp \
..\renderFontDefaults.cpp \
..\AccessibilityNotifier.cpp \
..\ConsoleArguments.cpp \

View File

@ -12,6 +12,10 @@ using namespace Microsoft::Console::Interactivity::OneCore;
#pragma region IConsoleControl Members
void ConsoleControl::Control(ControlType /*command*/, PVOID /*ptr*/, DWORD /*len*/) noexcept
{
}
void ConsoleControl::NotifyWinEvent(DWORD /*event*/, HWND /*hwnd*/, LONG /*idObject*/, LONG /*idChild*/) noexcept
{
}

View File

@ -24,6 +24,7 @@ namespace Microsoft::Console::Interactivity::OneCore
{
public:
// IConsoleControl Members
void Control(ControlType command, PVOID ptr, DWORD len) noexcept override;
void NotifyWinEvent(DWORD event, HWND hwnd, LONG idObject, LONG idChild) noexcept override;
void NotifyConsoleApplication(_In_ DWORD dwProcessId) noexcept override;
void SetForeground(_In_ HANDLE hProcess, _In_ BOOL fForeground) noexcept override;