Fixed visualize key in nocolor output mode.
This commit is contained in:
parent
a00f67c3a8
commit
6593402144
19
interface.c
19
interface.c
@ -1374,7 +1374,24 @@ void interpreter (char *line UU) {
|
||||
for (j = 0; j < 4; j ++) {
|
||||
push_color (colors[x & 3]);
|
||||
push_color (COLOR_INVERSE);
|
||||
printf (" ");
|
||||
if (!disable_colors) {
|
||||
printf (" ");
|
||||
} else {
|
||||
switch (x & 3) {
|
||||
case 0:
|
||||
printf (" ");
|
||||
break;
|
||||
case 1:
|
||||
printf ("--");
|
||||
break;
|
||||
case 2:
|
||||
printf ("==");
|
||||
break;
|
||||
case 3:
|
||||
printf ("||");
|
||||
break;
|
||||
}
|
||||
}
|
||||
pop_color ();
|
||||
pop_color ();
|
||||
x = x >> 2;
|
||||
|
@ -457,6 +457,8 @@ void tglf_fetch_chat_full (struct tgl_chat *C) {
|
||||
users[i].date = fetch_int ();
|
||||
}
|
||||
version = fetch_int ();
|
||||
} else {
|
||||
fetch_int ();
|
||||
}
|
||||
int *start = in_ptr;
|
||||
assert (skip_type_any (TYPE_TO_PARAM (photo)) >= 0);
|
||||
|
Loading…
Reference in New Issue
Block a user