diff options
author | Jonas Devlieghere <jonas@devlieghere.com> | 2023-09-13 20:08:05 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-13 20:08:05 -0700 |
commit | 850e90c47b3caaadb78581fb7a93655a8a60cbe0 (patch) | |
tree | 72033f41714054bc5b85a8406b4d2c75633655cc /clang/unittests/Serialization/ForceCheckFileInputTest.cpp | |
parent | 1dae4dd0d80fd453d60564b60a70f1b3814ef5a5 (diff) | |
download | llvm-850e90c47b3caaadb78581fb7a93655a8a60cbe0.zip llvm-850e90c47b3caaadb78581fb7a93655a8a60cbe0.tar.gz llvm-850e90c47b3caaadb78581fb7a93655a8a60cbe0.tar.bz2 |
[lldb] Support Unicode in the prompt (#66312)
Account for Unicode when computing the prompt column width. Previously,
the string length (i.e. number of bytes) rather than the width of the
Glyph was used to compute the cursor position. The result was that the
cursor would be offset to the right when using a prompt containing
Unicode.
Diffstat (limited to 'clang/unittests/Serialization/ForceCheckFileInputTest.cpp')
0 files changed, 0 insertions, 0 deletions