From 4ffacbb2ab7b79029bd7304eff0c317e9c009027 Mon Sep 17 00:00:00 2001 From: midichef <67946319+midichef@users.noreply.github.com> Date: Fri, 11 Aug 2023 18:17:39 -0700 Subject: [PATCH] [sheets] remove column inserted by draw() in debug mode --- visidata/sheets.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/visidata/sheets.py b/visidata/sheets.py index 786c5f923..179520db1 100644 --- a/visidata/sheets.py +++ b/visidata/sheets.py @@ -658,10 +658,7 @@ def isVisibleIdxKey(self, vcolidx): def draw(self, scr): 'Draw entire screen onto the `scr` curses object.' if not self.columns: - if self.options.debug: - self.addColumn(Column()) - else: - return + return drawparams = { 'isNull': self.isNullFunc(),