lyrics: automatically refresh lyrics window after edit (console editors only)
This commit is contained in:
committed by
Andrzej Rybczak
parent
a6ae22244c
commit
759322d00c
@@ -359,6 +359,7 @@ void Lyrics::Edit()
|
||||
if (Config.use_console_editor)
|
||||
{
|
||||
res = system(("/bin/sh -c \"" + Config.external_editor + " \\\"" + itsFilename + "\\\"\"").c_str());
|
||||
Load();
|
||||
// below is needed as screen gets cleared, but apparently
|
||||
// ncurses doesn't know about it, so we need to reload main screen
|
||||
endwin();
|
||||
|
||||
Reference in New Issue
Block a user