diff options
Diffstat (limited to 'ui/Pane.js')
-rw-r--r-- | ui/Pane.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/Pane.js b/ui/Pane.js index 4e08c55..b33a1b7 100644 --- a/ui/Pane.js +++ b/ui/Pane.js @@ -86,7 +86,7 @@ module.exports = class Pane extends DisplayElement { const pane = new Pane() pane.frameColor = ansi.C_WHITE - pane.w = text.length + 2 + pane.w = ansi.measureColumns(text) + 2 pane.h = 3 parent.addChild(pane) |