mirror of
https://github.com/tmate-io/tmate.git
synced 2025-01-26 15:59:23 +01: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