From 613e8c91f082ca3cb64aa10063d3254100deac84 Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Tue, 9 Dec 2014 02:46:34 +0100 Subject: Curses: support cycling through long lists of possible auto-completions and optimized screen refreshing/redrawing * pressing e.g. TAB when the popup is showing a list of auto-completions will show the next page, eventually beginning at the first one again. * do not redraw curses windows in the UI methods directly. this resulted in flickering during command-line editing macros and ordinary macro calls because the physical screen was updated immediately. Instead, window refreshing and updated is done centrally in event_loop_iter() only after a key has been processed. Also we use wnoutrefresh() and doupdate() to send as little to the terminal (emulator) as possible. --- TODO | 2 -- 1 file changed, 2 deletions(-) (limited to 'TODO') diff --git a/TODO b/TODO index 5771793..efa7254 100644 --- a/TODO +++ b/TODO @@ -43,8 +43,6 @@ Features: influence tab-completion and relative file names. Optimizations: - * prevent command-line flickering when using function key macros. - * check if Scinterm refreshing is optimal * refactor search commands (create proper base class) * refactor match-char state machine using MicroStateMachine class * simplify parser (static jump tables are unnecessary!) -- cgit v1.2.3