mirror of
https://github.com/tmux/tmux.git
synced 2024-11-17 18:08:51 +00:00
Use \\ not \ for escaping \.
This commit is contained in:
parent
f339cfd315
commit
234f6d27c1
2
grid.c
2
grid.c
@ -621,7 +621,7 @@ grid_string_cells(struct grid *gd, u_int px, u_int py, u_int nx,
|
|||||||
data = ud.data;
|
data = ud.data;
|
||||||
size = ud.size;
|
size = ud.size;
|
||||||
if (escape_c0 && size == 1 && *data == '\\') {
|
if (escape_c0 && size == 1 && *data == '\\') {
|
||||||
data = "\\";
|
data = "\\\\";
|
||||||
size = 2;
|
size = 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user