The new Windows Terminal and the original Windows console host, all in the same place!
1279 matches across 11 categories. Click a row to expand file-level details.
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tools/WindbgExtension.js | 1 | |
| LOW | …Y/GUIConsole/GUIConsole.WPF/Properties/AssemblyInfo.cs | 21 | // COM, set the ComVisible attribute to true on that type. |
| LOW | …Y/GUIConsole/GUIConsole.WPF/Properties/AssemblyInfo.cs | 41 | )] |
| LOW | …onsole/GUIConsole.WPF/Properties/Resources.Designer.cs | 1 | //------------------------------------------------------------------------------ |
| LOW | samples/ConPTY/GUIConsole/GUIConsole.ConPTY/Terminal.cs | 21 | /// A stream of VT-100-enabled output from the console. |
| LOW | samples/ConPTY/MiniTerm/MiniTerm/Program.cs | 1 | using System; |
| LOW | …es/ConPTY/MiniTerm/MiniTerm/Properties/AssemblyInfo.cs | 21 | |
| LOW | samples/ConPTY/EchoCon/EchoCon/stdafx.h | 1 | // stdafx.h : include file for standard system include files, |
| LOW | samples/ConPTY/EchoCon/EchoCon/targetver.h | 1 | #pragma once |
| LOW | samples/ConPTY/EchoCon/EchoCon/stdafx.cpp | 1 | // stdafx.cpp : source file that includes just the standard includes |
| LOW | scratch/ScratchIslandApp/WindowExe/pch.h | 21 | #define WIN32_LEAN_AND_MEAN |
| LOW | scratch/ScratchIslandApp/WindowExe/pch.h | 41 | |
| LOW | scratch/ScratchIslandApp/WindowExe/pch.h | 61 | // * Media for ScaleTransform |
| LOW | scratch/ScratchIslandApp/WindowExe/pch.h | 81 | #include <WinUser.h> |
| LOW | scratch/ScratchIslandApp/WindowExe/SampleMain.cpp | 1 | // Copyright (c) Microsoft Corporation. |
| LOW | scratch/ScratchIslandApp/WindowExe/SampleMain.cpp | 81 | // cause WT to start with Ctrl-C disabled. This wouldn't matter, because it's a Windows-subsystem |
| LOW | scratch/ScratchIslandApp/WindowExe/pch.cpp | 1 | // Copyright (c) Microsoft Corporation. |
| LOW | scratch/ScratchIslandApp/WindowExe/SampleAppHost.cpp | 61 | |
| LOW | scratch/ScratchIslandApp/WindowExe/resource.h | 1 | //{{NO_DEPENDENCIES}} |
| LOW | scratch/ScratchIslandApp/WindowExe/resource.h | 21 | #ifndef APSTUDIO_READONLY_SYMBOLS |
| LOW | …atch/ScratchIslandApp/WindowExe/SampleIslandWindow.cpp | 201 | OnSize(size.cx, size.cy); |
| LOW | scratch/ScratchIslandApp/SampleApp/pch.h | 1 | // Copyright (c) Microsoft Corporation. |
| LOW | scratch/ScratchIslandApp/SampleApp/pch.h | 21 | // Windows::UI::Xaml::Media::Animation::IStoryboard::GetCurrentTime |
| LOW | scratch/ScratchIslandApp/SampleApp/pch.h | 41 | #include <winrt/Windows.UI.Xaml.Data.h> |
| LOW | scratch/ScratchIslandApp/SampleApp/pch.h | 61 | |
| LOW | scratch/ScratchIslandApp/SampleApp/pch.cpp | 1 | // Copyright (c) Microsoft Corporation. |
| LOW | scratch/ScratchIslandApp/SampleApp/dll/pch.h | 1 | // Copyright (c) Microsoft Corporation. |
| LOW | scratch/ScratchIslandApp/SampleApp/dll/pch.cpp | 1 | // Copyright (c) Microsoft Corporation. |
| LOW | dep/Console/winconp.h | 61 | #define CONSOLE_REGISTRY_FONTFAMILY L"FontFamily" |
| LOW | dep/Console/winconp.h | 81 | #define CONSOLE_REGISTRY_WORD_DELIM L"WordDelimiters" |
| LOW | dep/Console/winconp.h | 101 | #define CONSOLE_REGISTRY_COPYCOLOR L"CopyColor" |
| LOW | dep/Console/winconp.h | 461 | UnregisterConsoleIME( |
| LOW | dep/Console/winconp.h | 481 | #define CONSOLE_OUTPUT_STRING L"CONOUT$" |
| LOW | dep/Console/winconp.h | 601 | #define PID_CONSOLE_WRAPTEXT 2 |
| LOW | dep/Console/winconp.h | 661 | // |
| LOW | dep/Console/condrv.h | 21 | Kernel and user modes. |
| LOW | dep/Console/condrv.h | 61 | #define CD_IO_OBJECT_TYPE_CURRENT_OUTPUT 0x02 |
| LOW | dep/Console/ntcon.h | 1 | // |
| LOW | dep/Console/ntcon.h | 21 | |
| LOW | oss/pcg/include/pcg_random.hpp | 1 | // PCG Random Number Generation for C++ |
| LOW | oss/stb/stb_rect_pack.h | 1 | // stb_rect_pack.h - v1.01 - public domain - rectangle packing |
| LOW | oss/stb/stb_rect_pack.h | 21 | // No memory allocations; uses qsort() and assert() from stdlib. |
| LOW | oss/stb/stb_rect_pack.h | 41 | // |
| LOW | oss/stb/stb_rect_pack.h | 61 | ////////////////////////////////////////////////////////////////////////////// |
| LOW | oss/stb/stb_rect_pack.h | 81 | typedef struct stbrp_context stbrp_context; |
| LOW | oss/stb/stb_rect_pack.h | 101 | // You should not try to access the 'rects' array from another thread |
| LOW | oss/stb/stb_rect_pack.h | 121 | stbrp_coord w, h; |
| LOW | oss/stb/stb_rect_pack.h | 141 | // Note: to guarantee best results, either: |
| LOW | oss/stb/stb_rect_pack.h | 201 | // |
| LOW | oss/stb/stb_rect_pack.h | 381 | } |
| LOW | oss/chromium/base/numerics/safe_math_clang_gcc_impl.h | 1 | // Copyright 2017 The Chromium Authors. All rights reserved. |
| LOW | oss/chromium/base/numerics/safe_math_arm_impl.h | 21 | |
| LOW | oss/chromium/base/numerics/clamped_math_impl.h | 1 | // Copyright 2017 The Chromium Authors. All rights reserved. |
| LOW | oss/chromium/base/numerics/safe_conversions.h | 1 | // Copyright 2014 The Chromium Authors. All rights reserved. |
| LOW | oss/chromium/base/numerics/safe_conversions.h | 281 | constexpr StrictNumeric(Src value) // NOLINT(runtime/explicit) |
| LOW | oss/chromium/base/numerics/checked_math_impl.h | 1 | // Copyright 2017 The Chromium Authors. All rights reserved. |
| LOW | oss/chromium/base/numerics/safe_math.h | 1 | // Copyright 2017 The Chromium Authors. All rights reserved. |
| LOW | oss/chromium/base/numerics/safe_conversions_impl.h | 1 | // Copyright 2014 The Chromium Authors. All rights reserved. |
| LOW | oss/chromium/base/numerics/safe_conversions_impl.h | 221 | // truncated to fit the mantissa of the floating point. The direction of |
| LOW | oss/chromium/base/numerics/safe_math_shared_impl.h | 1 | // Copyright 2017 The Chromium Authors. All rights reserved. |
| 1155 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | oss/chromium/base/numerics/clamped_math.h | 44 | // This is not an explicit constructor because we want a seamless conversion |
| MEDIUM | oss/chromium/base/numerics/checked_math.h | 44 | // This is not an explicit constructor because we want a seamless conversion |
| MEDIUM | src/renderer/atlas/BackendD3D.cpp | 308 | // it being simple to implement and robust against more peculiar fonts with unusually large/small descenders, et |
| MEDIUM | src/renderer/atlas/BackendD2D.cpp | 678 | // it being simple to implement and robust against more peculiar fonts with unusually large/small descenders, et |
| MEDIUM | src/renderer/atlas/BackendD2D.cpp | 693 | // color, it is seamless. |
| MEDIUM | src/inc/til/color.h | 22 | // Here, we leverage the spec-legality of using unions for type conversions and the |
| LOW | src/tools/vtpipeterm/main.cpp | 13 | #else // Building inside Windows, just use the kernel32 ones. |
| MEDIUM | src/types/CodepointWidthDetector.cpp | 22 | // Fundamentally, the trie is generated by taking all 1114112 codepoints and their assigned values and deduplicating |
| MEDIUM | src/types/UiaTextRangeBase.cpp | 985 | // so leverage size_t(-1) being converted to 0xffff... |
| MEDIUM | src/host/input.cpp | 359 | // Going back to the Win 7 behavior then should make shutdown a lot more robust. |
| MEDIUM | src/terminal/parser/base64.cpp | 47 | // Is 4 enough? Certainly not. 6 on the other hand is just way too much. Clearly 5 is just right. |
| MEDIUM | src/terminal/parser/ft_fuzzer/fuzzing_directed.h | 370 | // is designed to leverage the & operator overload to have CFuzzArray |
| MEDIUM | src/interactivity/win32/windowio.cpp | 988 | // so they can be faithfully represented as a user "typing" into the client application. The vision would b |
| LOW | src/cascadia/TerminalApp/TabManagement.cpp | 606 | // GH#11107 - Always just set the item directly first so that if |
| MEDIUM | src/cascadia/TerminalSettingsModel/JsonUtils.h | 1010 | // Cleverly leverage EnumMapper to do the heavy lifting. |
| MEDIUM | …erminalSettingsModel/CascadiaSettingsSerialization.cpp | 1113 | // will fail; we can leverage this to detect when they are equivalent and delete the user's duplicate copies. |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | doc/specs/#13000 - In-process ConPTY.md | 356 | // ┌──────────────────┐ |
| MEDIUM | doc/specs/#13000 - In-process ConPTY.md | 360 | // ╭ ├──────────────────┤ ├── VT scrollback (partially addressed) |
| MEDIUM | doc/specs/#13000 - In-process ConPTY.md | 364 | // Console Buffer ──┤ ├──────────────────┤ ├──── VT Viewport (top y = 1) |
| MEDIUM | doc/specs/#13000 - In-process ConPTY.md | 368 | // ╰ └──────────────────┘ |
| MEDIUM | doc/specs/#13000 - In-process ConPTY.md | 374 | // ┌──────────────────┐ ╮ |
| MEDIUM | doc/specs/#13000 - In-process ConPTY.md | 378 | // ╭ ├──────────────────┤ ╮ ╯ |
| MEDIUM | doc/specs/#13000 - In-process ConPTY.md | 382 | // ╰ └──────────────────┘ ╯ |
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | …Console/GUIConsole.WPF/Properties/Settings.Designer.cs | 3 | // This code was generated by a tool. |
| HIGH | …onsole/GUIConsole.WPF/Properties/Resources.Designer.cs | 3 | // This code was generated by a tool. |
| HIGH | src/tools/ColorTool/ColorTool/Resources.Designer.cs | 3 | // This code was generated by a tool. |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | src/tools/ConsoleBench/main.cpp | 448 | static constexpr std::string_view s_payload_utf8{ "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusm |
| LOW | src/tools/ConsoleBench/main.cpp | 448 | static constexpr std::string_view s_payload_utf8{ "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusm |
| LOW | src/tools/ConsoleBench/main.cpp | 450 | static constexpr std::wstring_view s_payload_utf16{ L"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do ei |
| LOW | src/tools/ConsoleBench/main.cpp | 450 | static constexpr std::wstring_view s_payload_utf16{ L"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do ei |
| LOW | src/terminal/parser/ft_fuzzer/VTCommandFuzzer.cpp | 117 | "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore m |
| LOW | src/terminal/parser/ft_fuzzer/VTCommandFuzzer.cpp | 117 | "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore m |
| LOW | src/terminal/parser/ft_fuzzer/VTCommandFuzzer.cpp | 118 | "Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem ape |
| LOW | src/terminal/parser/ft_fuzzer/VTCommandFuzzer.cpp | 118 | "Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem ape |
| LOW | src/terminal/parser/ft_fuzzer/VTCommandFuzzer.cpp | 119 | "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore m |
| LOW | src/terminal/parser/ft_fuzzer/VTCommandFuzzer.cpp | 119 | "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore m |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | src/inc/til/mutex.h | 68 | // ensures you don't forget to do so, unlike with std::mutex/std::shared_mutex. |
| LOW | …olorTool/ConsoleTargets/TerminalSchemeConsoleTarget.cs | 13 | Console.WriteLine("Copy and paste the following text into the schemes array of your Windows Terminal setting |
| MEDIUM | src/terminal/adapter/InteractDispatch.cpp | 77 | // It's worth noting that all of this is bad design in either case. |
| LOW | src/cascadia/WindowsTerminal/NonClientIslandWindow.cpp | 661 | // GH#5209 - make sure to use MONITOR_DEFAULTTONEAREST, so that this will |
| LOW | src/cascadia/TerminalApp/AppCommandlineArgs.cpp | 397 | // GH#10070 - make sure to not use the MRU order when switching |
| LOW | src/cascadia/TerminalControl/TermControl.cpp | 2822 | // GH#2061 - make sure to account for the size the padding _will be_ scaled to |
| LOW | src/cascadia/TerminalControl/TermControl.cpp | 2858 | // GH#2061 - make sure to account for the size the padding _will be_ scaled to |
| LOW | src/cascadia/TerminalConnection/ConptyConnection.cpp | 484 | // GH#11556 - make sure to format the error code to this string as an UNSIGNED int |
| LOW | src/cascadia/TerminalConnection/ConptyConnection.cpp | 521 | // GH#11556 - make sure to format the error code to this string as an UNSIGNED int |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | src/terminal/parser/InputStateMachineEngine.cpp | 889 | // Step 1: Translate which button was affected |
| LOW | src/terminal/parser/InputStateMachineEngine.cpp | 945 | // Step 2: Decide whether to set or clear that button's bit |
| LOW | src/terminal/parser/InputStateMachineEngine.cpp | 989 | // Step 3: check if mouse moved |
| LOW | src/terminal/parser/InputStateMachineEngine.cpp | 995 | // Step 4: update internal state before returning, even if we couldn't fully understand this |
| LOW | src/interactivity/win32/windowio.cpp | 343 | // we need to check if there is an active popup because otherwise they won't be able to receive shift+key events |
| LOW | src/cascadia/TerminalCore/TerminalSelection.cpp | 480 | // so we need to check if we're pointing to that one before returning it. |
| LOW | src/cascadia/WindowsTerminal/AppHost.cpp | 503 | // We need to check if the top left point of the titlebar of the window is within any screen |
| LOW | …c/cascadia/TerminalSettingsModel/GlobalAppSettings.cpp | 437 | // so we need to check if they were explicitly set |
| LOW | src/cascadia/TerminalConnection/AzureConnection.cpp | 783 | //// Step 8: connecting to said terminal |
| Severity | File | Line | Snippet |
|---|---|---|---|
| CRITICAL | tools/WindbgExtension.js | 24 | return host.namespace.Debugger.Utility.Control.ExecuteCommand("dx Microsoft::Console::Interactivity::ServiceLocator: |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | src/tools/vttests/test-unicode.py | 16 | |
| LOW | src/tools/vttests/test-unicode.py | 17 | |
| LOW | src/tools/vttests/test-unicode.py | 18 | |
| LOW | src/tools/vttests/burrito.py | 17 | |
| LOW | src/tools/vttests/template.py | 8 | |
| LOW | src/tools/vttests/template.py | 9 | |
| LOW | src/tools/vttests/template.py | 10 |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | doc/specs/#1595 - Suggestions UI/dump-workflows.py | 28 | print(f"Error parsing {filename}: {e}") |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | doc/specs/#1595 - Suggestions UI/dump-workflows.py | 6 |