Skip to content

Commit

Permalink
[sheets] remove column inserted by draw() in debug mode
Browse files Browse the repository at this point in the history
  • Loading branch information
midichef authored and saulpw committed Aug 13, 2023
1 parent 5d11c67 commit 4ffacbb
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions visidata/sheets.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand Down

0 comments on commit 4ffacbb

Please sign in to comment.