From cf66883310afaadaddb10aed5276e1fef9a618ec Mon Sep 17 00:00:00 2001 From: Benny Daon Date: Wed, 6 Dec 2023 08:09:38 +0200 Subject: [PATCH] Fixing a bug with screen dimensions --- src/pane.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pane.ts b/src/pane.ts index 956d53e8..3fce84f8 100644 --- a/src/pane.ts +++ b/src/pane.ts @@ -114,8 +114,8 @@ export class Pane extends Cell { fontFamily: "FiraCode", fontSize: this.fontSize * this.gate.fontScale, theme: this.theme, - rows: props["rows"] | 24, - cols: props["cols"] | 80, + rows: props["rows"] || 24, + cols: props["cols"] || 80, allowProposedApi: true, /* TODO: restore this. commented because it silences spotify bellStyle: "sound",