[Overview][Constants][Types][Procedures and functions][Variables] Reference for unit 'video' (#rtl)

UpdateScreen

Update physical screen with internal screen image.

Declaration

Source position: videoh.inc line 134

procedure UpdateScreen(

  Force: Boolean

);

Description

UpdateScreensynchronizes the actual screen with the contents of the VideoBufinternal buffer. The parameter Forcespecifies whether the whole screen has to be redrawn (Force=True) or only parts that have changed since the last update of the screen.

The Videounit keeps an internal copy of the screen as it last wrote it to the screen (in the OldVideoBufarray). The current contents of VideoBufare examined to see what locations on the screen need to be updated. On slow terminals (e.g. a linux telnet session) this mechanism can speed up the screen redraw considerably.

For an example, see most other functions.

Errors

None.

See also

ClearScreen

  

Clear the video screen.