File tree Expand file tree Collapse file tree 1 file changed +2
-13
lines changed
Expand file tree Collapse file tree 1 file changed +2
-13
lines changed Original file line number Diff line number Diff line change @@ -157,13 +157,7 @@ def make_default_commands() -> dict[CommandName, CommandClass]:
157157
158158@dataclass (frozen = True , slots = True )
159159class RefreshInvalidation :
160- """Which parts of the screen need to be recomputed on the next refresh.
161-
162- Typing a character sets ``buffer_from_pos`` (rebuild from that offset).
163- Moving the cursor without editing sets ``cursor_only``.
164- Resizing the terminal sets ``layout`` (reflow all lines).
165- Opening a completion menu sets ``overlay``.
166- """
160+ """Which parts of the screen need to be recomputed on the next refresh."""
167161
168162 cursor_only : bool = False
169163 buffer_from_pos : int | None = None
@@ -316,12 +310,7 @@ class Reader:
316310 ## cached metadata to speed up screen refreshes
317311 @dataclass
318312 class RefreshCache :
319- """Previously computed render/layout data for incremental refresh.
320-
321- Stores the output of the last ``calc_screen`` so that the next
322- refresh can reuse unchanged rows (e.g. only re-render from the
323- edited line onward instead of the whole screen).
324- """
313+ """Previously computed render/layout data for incremental refresh."""
325314
326315 render_lines : list [RenderLine ] = field (default_factory = list )
327316 layout_rows : list [LayoutRow ] = field (default_factory = list )
You can’t perform that action at this time.
0 commit comments