llvm-project/lldb/source
David Bolvansky 8aa23614af Set Windows console mode to enable support for ansi escape codes
Summary:
Windows console now supports supports ANSI escape codes, but we need to enable it using SetConsoleMode with ENABLE_VIRTUAL_TERMINAL_PROCESSING flag.

https://docs.microsoft.com/en-us/windows/console/console-virtual-terminal-sequences.

Syntax hightlighting now works fine on Windows:
https://i.imgur.com/P0i04A7.png

Reviewers: JDevlieghere, teemperor, zturner

Reviewed By: zturner

Subscribers: abidh, lldb-commits

Differential Revision: https://reviews.llvm.org/D51615

llvm-svn: 341497
2018-09-05 22:06:58 +00:00
..
API Support setting a breakpoint by FileSpec+Line+Column in the SBAPI. 2018-08-30 15:11:00 +00:00
Breakpoint Support setting a breakpoint by FileSpec+Line+Column in the SBAPI. 2018-08-30 15:11:00 +00:00
Commands File completion bugfix 2018-08-31 23:03:28 +00:00
Core Set Windows console mode to enable support for ansi escape codes 2018-09-05 22:06:58 +00:00
DataFormatters Reflow paragraphs in comments. 2018-04-30 16:49:04 +00:00
Expression Allow IRInterpreter to deal with non-power-of-2 sized types to support some bitfield accesses. 2018-08-28 22:50:01 +00:00
Host Modernize NativeProcessProtocol::GetSoftwareBreakpointTrapOpcode 2018-09-05 18:08:56 +00:00
Initialization Move pretty stack trace printer into driver. 2018-07-17 10:04:19 +00:00
Interpreter Move RegisterValue,Scalar,State from Core to Utility 2018-08-07 11:07:21 +00:00
Plugins Modernize NativeProcessProtocol::GetSoftwareBreakpointTrapOpcode 2018-09-05 18:08:56 +00:00
Symbol [Symtab][NFC] Added llvm_unreachable to supress compiler warning 2018-09-03 12:57:54 +00:00
Target Support setting a breakpoint by FileSpec+Line+Column in the SBAPI. 2018-08-30 15:11:00 +00:00
Utility Terminate debugger if an assert was hit 2018-09-04 17:19:15 +00:00
CMakeLists.txt Remove Plugins/Process/POSIX from include_directories 2017-04-11 12:26:25 +00:00
lldb.cpp Run clang-format on lldb.cpp 2017-11-02 16:56:52 +00:00