From 759322d00c7d5939f4f4ab9c4418028c4c810da7 Mon Sep 17 00:00:00 2001 From: Moritz Lipp Date: Thu, 11 Oct 2012 23:32:50 +0200 Subject: [PATCH] lyrics: automatically refresh lyrics window after edit (console editors only) --- src/lyrics.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lyrics.cpp b/src/lyrics.cpp index 9ff6116f..c37c698f 100644 --- a/src/lyrics.cpp +++ b/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();