mirror of
https://github.com/neovim/neovim.git
synced 2025-09-19 17:58:18 +00:00
message: Fix :echo "\x80"
printing ~@<80>
This commit is contained in:
@@ -1196,7 +1196,7 @@ int msg_outtrans_len_attr(char_u *msgstr, int len, int attr)
|
|||||||
len -= mb_l - 1;
|
len -= mb_l - 1;
|
||||||
str += mb_l;
|
str += mb_l;
|
||||||
} else {
|
} else {
|
||||||
s = transchar_byte(*str);
|
s = transchar_byte((uint8_t)(*str));
|
||||||
if (s[1] != NUL) {
|
if (s[1] != NUL) {
|
||||||
// Unprintable char: print the printable chars so far and the
|
// Unprintable char: print the printable chars so far and the
|
||||||
// translation of the unprintable char.
|
// translation of the unprintable char.
|
||||||
|
Reference in New Issue
Block a user