bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 10/30] man/curs_scr_dump.3x: Fix style nits.


From: G. Branden Robinson
Subject: [PATCH 10/30] man/curs_scr_dump.3x: Fix style nits.
Date: Sat, 8 Jun 2024 07:17:31 -0500

* Rearrange `scr_init()` terminal state invalidation scenarios to put
  the more general (and more easily understood) one first.
* Lightly recast.
---
 man/curs_scr_dump.3x | 22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)

diff --git a/man/curs_scr_dump.3x b/man/curs_scr_dump.3x
index 4b78ff99a..f3840eb99 100644
--- a/man/curs_scr_dump.3x
+++ b/man/curs_scr_dump.3x
@@ -99,11 +99,17 @@ .SS scr_init
 clearing it and starting from scratch.
 .PP
 .I curses
-regards the terminal being in an invalid state for computation of
-updates based on the contents of
+regards the terminal as in an invalid state for computation of updates
+based on the contents of
 .I filename
 if
 .bP
+.I curses
+knows that the terminal has been written to since the preceding
+.B \%scr_dump
+call,
+or
+.bP
 the terminal type supports the
 .I \%term\%info
 capabilities
@@ -111,13 +117,7 @@ .SS scr_init
 .RB \%( rmcup )
 or
 .B \%non_rev_rmcup
-.RB \%( nrrmc ),
-or
-.bP
-.I curses
-knows that the terminal has been written to since the preceding
-.B \%scr_dump
-call.
+.RB \%( nrrmc ).
 .PP
 Either of the foregoing conditions means that
 .I curses
@@ -129,8 +129,8 @@ .SS scr_init
 that couple cursor-positioning mode with a local cache of screen
 contents.
 .I curses
-cannot know whether terminal is displaying from that local cache at the
-time the application calls
+cannot know whether the terminal is displaying from that local cache
+at the time the application calls
 .BR \%scr_init ","
 so it makes a pessimistic assumption that a full redraw is required;
 see subsection \*(``Cursor Motions\*('' of \fB\%terminfo\fP(5).
-- 
2.30.2

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]