Skip to content

Commit

Permalink
Second pass at a fix for #77
Browse files Browse the repository at this point in the history
  • Loading branch information
scottchiefbaker committed Sep 14, 2024
1 parent ddf641f commit ae37f2b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions dool
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ class Options:
if not sys.stdout.isatty():
self.color = False
self.header = False
self.update = False

long_opts = [
'all' , 'all-plugins', 'ascii' , 'bits' , 'bw' , 'bytes' , 'black-on-white', 'color' ,
Expand Down Expand Up @@ -2845,6 +2846,8 @@ def perform(update):
### If we're in a delay we just go to column 0 and overwrite what's there
elif loop != 0:
newline = ansi['clearline'] + ansi['column_zero'];
elif not op.update:
newline = "\n"

### Display header
if showheader:
Expand Down

0 comments on commit ae37f2b

Please sign in to comment.