diff options
Diffstat (limited to 'src/ui/documentwidget.c')
-rw-r--r-- | src/ui/documentwidget.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/documentwidget.c b/src/ui/documentwidget.c index cf2dc5da..1039fc2b 100644 --- a/src/ui/documentwidget.c +++ b/src/ui/documentwidget.c | |||
@@ -4839,7 +4839,7 @@ static iBool render_DocumentWidget_(const iDocumentWidget *d, iDrawContext *ctx, | |||
4839 | } | 4839 | } |
4840 | } | 4840 | } |
4841 | } | 4841 | } |
4842 | setAnsiEscapesEnabled_Text(ansiEscapesEnabled_GmDocument(d->doc)); | 4842 | setAnsiFlags_Text(ansiEscapes_GmDocument(d->doc)); |
4843 | iConstForEach(PtrSet, r, d->invalidRuns) { | 4843 | iConstForEach(PtrSet, r, d->invalidRuns) { |
4844 | const iGmRun *run = *r.value; | 4844 | const iGmRun *run = *r.value; |
4845 | if (isOverlapping_Rangei(bufRange, ySpan_Rect(run->visBounds))) { | 4845 | if (isOverlapping_Rangei(bufRange, ySpan_Rect(run->visBounds))) { |
@@ -4847,7 +4847,7 @@ static iBool render_DocumentWidget_(const iDocumentWidget *d, iDrawContext *ctx, | |||
4847 | drawRun_DrawContext_(ctx, run); | 4847 | drawRun_DrawContext_(ctx, run); |
4848 | } | 4848 | } |
4849 | } | 4849 | } |
4850 | setAnsiEscapesEnabled_Text(iTrue); | 4850 | setAnsiFlags_Text(allowAll_AnsiFlag); |
4851 | } | 4851 | } |
4852 | endTarget_Paint(p); | 4852 | endTarget_Paint(p); |
4853 | if (prerenderExtra && didDraw) { | 4853 | if (prerenderExtra && didDraw) { |