summaryrefslogtreecommitdiffstats
path: root/doc/update.n
diff options
context:
space:
mode:
Diffstat (limited to 'doc/update.n')
-rw-r--r--doc/update.n12
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/update.n b/doc/update.n
index 41a50f8..0c77c5f 100644
--- a/doc/update.n
+++ b/doc/update.n
@@ -14,10 +14,10 @@ update \- Process pending events and idle callbacks
.SH SYNOPSIS
\fBupdate\fR ?\fBidletasks\fR?
.BE
-
.SH DESCRIPTION
.PP
-This command is used to bring the application ``up to date''
+This command is used to bring the application
+.QW "up to date"
by entering the event loop repeatedly until all pending events
(including idle callbacks) have been processed.
.PP
@@ -42,7 +42,9 @@ the application to respond to events such as user interactions; if
you occasionally call \fBupdate\fR then user input will be processed
during the next call to \fBupdate\fR.
.SH EXAMPLE
+.PP
Run computations for about a second and then finish:
+.PP
.CS
set x 1000
set done 0
@@ -57,9 +59,7 @@ while {!$done} {
\fBupdate\fR
}
.CE
-
.SH "SEE ALSO"
-after(n), bgerror(n)
-
+after(n), interp(n)
.SH KEYWORDS
-event, flush, handler, idle, update
+asynchronous I/O, event, flush, handler, idle, update