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

Don't make tabs change the background or foreground color of the uninitialized...

Don't make tabs change the background or foreground color of the uninitialized cells they skip over. Issue 6193
parent fccf911f
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -2427,16 +2427,15 @@ static NSString *const kInilineFileInset = @"inset"; // NSValue of NSEdgeInsets
}
if (allNulls) {
int i;
screen_char_t filler;
InitializeScreenChar(&filler, [terminal_ foregroundColorCode], [terminal_ backgroundColorCode]);
filler.code = TAB_FILLER;
for (i = currentGrid_.cursorX; i < nextTabStop - 1; i++) {
aLine[i] = filler;
aLine[i].image = NO;
aLine[i].complexChar = NO;
aLine[i].code = TAB_FILLER;
}
 
screen_char_t tab = filler;
tab.code = '\t';
aLine[i] = tab;
aLine[i].image = NO;
aLine[i].complexChar = NO;
aLine[i].code = '\t';
}
currentGrid_.cursorX = nextTabStop;
}
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