tweaks: condense a fragment of code
This commit is contained in:
parent
ef7f825d97
commit
f8de98f7cd
@ -746,13 +746,8 @@ int convert_CSI_sequence(const int *seq, size_t length, int *consumed)
|
||||
return FOREIGN_SEQUENCE;
|
||||
}
|
||||
|
||||
if (seq[2] == '0') {
|
||||
bracketed_paste = TRUE;
|
||||
return BRACKETED_PASTE_MARKER;
|
||||
} else if (seq[2] == '1') {
|
||||
bracketed_paste = FALSE;
|
||||
return BRACKETED_PASTE_MARKER;
|
||||
}
|
||||
bracketed_paste = (seq[2] == '0');
|
||||
return BRACKETED_PASTE_MARKER;
|
||||
}
|
||||
#endif
|
||||
break;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user