Ticket #1953 (closed patch: fixed)

Opened 20 months ago

Last modified 9 months ago

fix console client flicker on every update

Reported by: terror_macbeth_I Owned by: Cas
Priority: minor Milestone: 1.4.0
Component: console Version: 1.3.3
Keywords: console curses Cc: nick

Description

The curses call to stdscr.clear() redraws the whole window on every update which causes screen flickering. By replacing the call with one to stdscr.erase() the updates are smooth.

I did not notice a negative impact but did not grasp the whole difference between clear vs. erase either.

Attachments

console noflicker.diff (491 bytes) - added by terror_macbeth_I 20 months ago.
patch to fix screen flicker on screen updates in console ui

Change History

Changed 20 months ago by terror_macbeth_I

patch to fix screen flicker on screen updates in console ui

Changed 18 months ago by Cas

  • status changed from new to accepted
  • owner set to Cas
  • version changed from git master to 1.3.3
  • milestone changed from Future to 1.3.4

I assume this is for 1.3-stable as there is no screen.py in git master.

Changed 18 months ago by terror_macbeth_I

Yes, you are right. Sorry for the confusion.

Changed 18 months ago by Cas

  • cc nick added

Fixed in 1.3-stable:  0f962aed

I wonder if this would make a difference to the new console in git master as I noticed the extensive use of stdscr.clear there.

Changed 18 months ago by Cas

  • milestone changed from 1.3.4 to 1.4.0

Changed 9 months ago by asmageddon

  • status changed from accepted to closed
  • resolution set to fixed

Fixing it this way was not effective in master, but I fixed it in my branch which is now merged into master.

Note: See TracTickets for help on using tickets.