Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit da4335c

Browse files
committedAug 26, 2022
Prevent erase_when_done affecting full screen apps
1 parent 6bdcb9d commit da4335c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

Diff for: ‎src/prompt_toolkit/application/application.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -530,7 +530,7 @@ def run_in_context() -> None:
530530
self.before_render.fire()
531531

532532
if render_as_done:
533-
if self.erase_when_done:
533+
if self.erase_when_done and not self.full_screen:
534534
self.renderer.erase()
535535
else:
536536
# Draw in 'done' state and reset renderer.

0 commit comments

Comments
 (0)
Please sign in to comment.