Opened 13 years ago

Closed 12 years ago

Last modified 6 years ago

#1953 closed patch (Fixed)

fix console client flicker on every update

Reported by: terror_macbeth_I Owned by: Calum
Priority: minor Milestone: 2.0.0
Component: Console UI 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 (1)

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

Download all attachments as: .zip

Change History (8)

by terror_macbeth_I, 13 years ago

Attachment: console noflicker.diff added

patch to fix screen flicker on screen updates in console ui

comment:1 by Calum, 13 years ago

Milestone: Future1.3.4
Owner: set to Calum
Status: newaccepted
Version: git master1.3.3

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

comment:2 by terror_macbeth_I, 13 years ago

Yes, you are right. Sorry for the confusion.

comment:3 by Calum, 13 years ago

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.

comment:4 by Calum, 13 years ago

Milestone: 1.3.41.4.0

comment:5 by asmageddon, 12 years ago

Resolution: fixed
Status: acceptedclosed

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

comment:6 by Calum, 9 years ago

Milestone: 2.0.x2.0

comment:7 by Calum, 6 years ago

Milestone: 2.02.0.0

Milestone renamed

Note: See TracTickets for help on using tickets.