diff options
author | bptato <nincsnevem662@gmail.com> | 2022-12-07 15:03:37 +0100 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2022-12-07 15:03:37 +0100 |
commit | eb61a176754a565a5c53562993897388fa2d260c (patch) | |
tree | 7c35d5415d71ec92092bc99efa7d00f4cfdaadc3 /src/display | |
parent | 38838a5fc3a3ba52982dc005013a7cca80f8c927 (diff) | |
download | chawan-eb61a176754a565a5c53562993897388fa2d260c.tar.gz |
Add force-clear
Diffstat (limited to 'src/display')
-rw-r--r-- | src/display/term.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/display/term.nim b/src/display/term.nim index 899cd561..eb061d99 100644 --- a/src/display/term.nim +++ b/src/display/term.nim @@ -339,7 +339,7 @@ proc writeGrid*(term: Terminal, grid: FixedGrid, x = 0, y = 0) = proc outputGrid*(term: Terminal) = term.outfile.write(term.resetFormat()) - if not term.cleared: + if term.config.forceclear or not term.cleared: term.outfile.write(term.generateFullOutput(term.canvas)) term.cleared = true else: |