cfdisk: move curs_set(1) to ui_end()
This is probably correct to have curs_set() in ui_end(), but according to Martin it does not work with slang library from signal handler. Reported-by: Martin Steigerwald <Martin@lichtvoll.de> Signed-off-by: Karel Zak <kzak@redhat.com>
This commit is contained in:
parent
423c0d75ec
commit
cd8414f7a1
|
@ -525,6 +525,7 @@ static int ui_end(void)
|
|||
#else
|
||||
mvcur(0, COLS - 1, LINES-1, 0);
|
||||
#endif
|
||||
curs_set(1);
|
||||
nl();
|
||||
endwin();
|
||||
printf("\n");
|
||||
|
@ -1966,9 +1967,7 @@ static int ui_run(struct cfdisk *cf)
|
|||
|
||||
menu_pop(cf);
|
||||
|
||||
curs_set(1);
|
||||
DBG(FRONTEND, ul_debug("ui: end"));
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue