console: rework text terminal cursor logic
authorGerd Hoffmann <kraxel@redhat.com>
Thu, 22 May 2014 09:27:13 +0000 (11:27 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Mon, 26 May 2014 06:41:02 +0000 (08:41 +0200)
commitaea7947c74e67e35352d6e7de2a06c8826c2c24d
tree8e81a709a46fbdb781f447c35ebf87377cc0497b
parentb35e3ba01a2759f79015c7d1a0859fd0dc4ec67c
console: rework text terminal cursor logic

Have a global timer.  Update all visible terminal windows syncronously.
Right now this can be the active_console only, but that will change
soon.  The global timer will disable itself if not needed, so we only
have to care start it if needed.  Which might be at console switch time
or when a new displaychangelistener is registered.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
ui/console.c