aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectGUI.cpp
diff options
context:
space:
mode:
authorRaphael Isemann <teemperor@gmail.com>2019-12-10 14:17:38 +0100
committerRaphael Isemann <teemperor@gmail.com>2019-12-10 14:30:41 +0100
commit14f3d13412cb2eac87f1c0ae74ed2af7ace1580f (patch)
tree8c35c4a99ad9e62e51f7eba2bbb576e221ee8b7d /lldb/source/Commands/CommandObjectGUI.cpp
parent06b0228e8036edb3239f4df7c4f2eb6533af5520 (diff)
downloadllvm-14f3d13412cb2eac87f1c0ae74ed2af7ace1580f.zip
llvm-14f3d13412cb2eac87f1c0ae74ed2af7ace1580f.tar.gz
llvm-14f3d13412cb2eac87f1c0ae74ed2af7ace1580f.tar.bz2
[lldb] Actually enable wchar support in Editline when it is defined in the host config
Summary: Our Editline implementation in LLDB supports using the wchar interface of Editline which should improve handling of unicode input when using Editline. At the moment we essentially just ignore unicode input and echo the escaped unicode code point (`\U1234`) to the command line (which we then also incorrectly treat as multiple characters, so console navigation is also broken afterwards). This patch just adds the include to the host config file which already contains the LLDB_EDITLINE_USE_WCHAR define to enable the Editline support (we just never included it in the file before). With this we now actually echo back unicode characters on macOS and we no longer ignore unicode input. On Linux this doesn't seem to improve the echoing back of characters but at least it fixes that we ignore unicode input. Reviewers: labath Reviewed By: labath Subscribers: JDevlieghere, lldb-commits Tags: #lldb Differential Revision: https://reviews.llvm.org/D71251
Diffstat (limited to 'lldb/source/Commands/CommandObjectGUI.cpp')
0 files changed, 0 insertions, 0 deletions