mirror of
https://git.meli.delivery/meli/meli
synced 2024-11-17 03:26:20 +00:00
ui: don't print Carriage Return
This commit is contained in:
parent
2a93463f74
commit
92f42ad8fa
@ -723,6 +723,9 @@ pub fn write_string_to_grid(
|
||||
return (x, y);
|
||||
}
|
||||
'char: for c in s.chars() {
|
||||
if c == '\r' {
|
||||
continue;
|
||||
}
|
||||
grid[(x, y)].set_ch(c);
|
||||
grid[(x, y)].set_fg(fg_color);
|
||||
grid[(x, y)].set_bg(bg_color);
|
||||
|
Loading…
Reference in New Issue
Block a user