#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)
Change History (8)
by , 13 years ago
Attachment: | console noflicker.diff added |
---|
comment:1 by , 13 years ago
Milestone: | Future → 1.3.4 |
---|---|
Owner: | set to |
Status: | new → accepted |
Version: | git master → 1.3.3 |
I assume this is for 1.3-stable as there is no screen.py in git master.
comment:3 by , 13 years ago
Cc: | 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 , 13 years ago
Milestone: | 1.3.4 → 1.4.0 |
---|
comment:5 by , 12 years ago
Resolution: | → fixed |
---|---|
Status: | accepted → closed |
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 , 9 years ago
Milestone: | 2.0.x → 2.0 |
---|
patch to fix screen flicker on screen updates in console ui