diff --git a/src/browser/renderer/shared/TextureAtlas.ts b/src/browser/renderer/shared/TextureAtlas.ts index 87422dd609..99fa83e17b 100644 --- a/src/browser/renderer/shared/TextureAtlas.ts +++ b/src/browser/renderer/shared/TextureAtlas.ts @@ -643,7 +643,7 @@ export class TextureAtlas implements ITextureAtlas { // Draw the character if (!customGlyph) { - this._tmpCtx.fillText(chars, padding, padding + this._config.deviceCharHeight); + this._tmpCtx.fillText(chars, padding, padding + this._config.deviceCharHeight, allowedWidth); } // If this charcater is underscore and beyond the cell bounds, shift it up until it is visible