hide cursor after return from external console editor

This commit is contained in:
Andrzej Rybczak
2009-03-05 18:06:53 +01:00
parent eef59c9099
commit 556d0f7a3c

View File

@@ -279,6 +279,7 @@ void Lyrics::Edit()
// ncurses doesn't know about it, so we need to reload main screen
endwin();
initscr();
curs_set(0);
}
else
system(("nohup " + Config.external_editor + " \"" + Filename + "\" > /dev/null 2>&1 &").c_str());