diff --git a/html_orig/jssrc/term_screen.js b/html_orig/jssrc/term_screen.js index 885d720..8c1379c 100644 --- a/html_orig/jssrc/term_screen.js +++ b/html_orig/jssrc/term_screen.js @@ -242,7 +242,7 @@ class TermScreen { this.ctx.font = this.getFont(); return { - width: this.ctx.measureText(' ').width, + width: Math.floor(this.ctx.measureText(' ').width), height: this.window.fontSize } }