Skip to content

Commit 15c2b14

Browse files
anselm67claude
andcommitted
fix(kernsheet): clear the terminal on within-score review-walk advance
Pressing 'n' to step to the next flagged page reprinted the landing header below any prior 't'/'k' dump instead of on a clean screen. Clear and reprint the id/progress/status header, matching fresh score entry. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QdzXhuVaZRjT4oXShXm8Dz
1 parent 9244a95 commit 15c2b14

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/kernsheet/editor.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -809,6 +809,8 @@ def edit(
809809
self.page_index = nxt
810810
self._reset_selection()
811811
self._select_flagged_system()
812+
self.clear() # wipe any 't'/'k' dump before the new landing
813+
print(f"id : {self.id}")
812814
self.print_review_progress()
813815
self.print_page_status()
814816
continue

0 commit comments

Comments
 (0)