lyrics: automatically refresh lyrics window after edit (console editors only)

master
Moritz Lipp 14 years ago committed by Andrzej Rybczak
parent a6ae22244c
commit 759322d00c
  1. 1
      src/lyrics.cpp

@ -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();

Loading…
Cancel
Save