mirror of
https://github.com/tmux/tmux.git
synced 2025-01-12 03:08:46 +00:00
Ignore terminal overrides settings without a value.
This commit is contained in:
parent
c1c5f43a01
commit
3696cce4ae
@ -249,7 +249,8 @@ tty_term_override(struct tty_term *term, const char *overrides)
|
|||||||
} else if (entstr[strlen(entstr) - 1] == '@') {
|
} else if (entstr[strlen(entstr) - 1] == '@') {
|
||||||
entstr[strlen(entstr) - 1] = '\0';
|
entstr[strlen(entstr) - 1] = '\0';
|
||||||
removeflag = 1;
|
removeflag = 1;
|
||||||
}
|
} else
|
||||||
|
continue;
|
||||||
|
|
||||||
for (i = 0; i < NTTYCODE; i++) {
|
for (i = 0; i < NTTYCODE; i++) {
|
||||||
ent = &tty_term_codes[i];
|
ent = &tty_term_codes[i];
|
||||||
|
Loading…
Reference in New Issue
Block a user