diff mbox series

[RFC,6/8] ui/ncurses: Don't post screen after command

Message ID 20181218041953.8960-7-sam@mendozajonas.com
State New
Headers show
Series Introduce pb-plugin 'commands' & Rust PoC | expand

Commit Message

Sam Mendoza-Jonas Dec. 18, 2018, 4:19 a.m. UTC
Leave the post command to the calling screen so widgets can be properly
reinitialised if needed.

Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
---
 ui/ncurses/nc-cui.c | 1 -
 1 file changed, 1 deletion(-)
diff mbox series

Patch

diff --git a/ui/ncurses/nc-cui.c b/ui/ncurses/nc-cui.c
index d80e2c3e..9fe4ba5c 100644
--- a/ui/ncurses/nc-cui.c
+++ b/ui/ncurses/nc-cui.c
@@ -262,7 +262,6 @@  int cui_run_cmd(struct cui *cui, const char **cmd_argv)
 	refresh();
 
 	redrawwin(cui->current->main_ncw);
-	nc_scr_post(cui->current);
 
 	if (result) {
 		pb_log_fn("failed: '%s'\n", cmd_argv[0]);