mirror of
https://github.com/neovim/neovim.git
synced 2025-09-14 15:28:17 +00:00
os/shell.c: temporary solution to not put ctrl chars on the screen grid
This commit is contained in:
@@ -464,9 +464,10 @@ static void out_data_append_to_screen(char *output, size_t remaining,
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Translate NUL to SOH
|
// TODO(bfredl): using msg_puts would be better until
|
||||||
if (output[off] == NUL) {
|
// terminal emulation is implemented.
|
||||||
output[off] = 1;
|
if (output[off] < 0x20) {
|
||||||
|
output[off] = ' ';
|
||||||
}
|
}
|
||||||
|
|
||||||
off++;
|
off++;
|
||||||
|
Reference in New Issue
Block a user