Skip to content
Snippets Groups Projects
Commit be6ca896 authored by George Nachman's avatar George Nachman
Browse files

Put in a hack to allow images to go wider than 256 columns. If we see the x...

Put in a hack to allow images to go wider than 256 columns. If we see the x value go to 0 right after it's 255 and the image code and row number stay the same, treat it as a continuation. Issue 6335.
parent 9333a320
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -1739,7 +1739,7 @@ static BOOL iTermTextDrawingHelperIsCharacterDrawable(screen_char_t *c,
if (![previousImageAttributes[iTermImageLineAttribute] isEqual:imageAttributes[iTermImageLineAttribute]]) {
return NO;
}
if ([previousImageAttributes[iTermImageColumnAttribute] integerValue] + 1 != [imageAttributes[iTermImageColumnAttribute] integerValue]) {
if ((([previousImageAttributes[iTermImageColumnAttribute] integerValue] + 1) & 0xff) != ([imageAttributes[iTermImageColumnAttribute] integerValue] & 0xff)) {
return NO;
}
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment