summaryrefslogtreecommitdiff
path: root/menu.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2002-03-23 15:16:12 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2002-03-23 15:16:12 +0100
commitca479d90dfe6c773e7b30ce754eb1718456c1aef (patch)
treedd90c1f02c04859c7faed3485cc3d5d0867ceda5 /menu.c
parenta9e4cc7d635e590983ab81749fb806df63deb8f3 (diff)
downloadvdr-ca479d90dfe6c773e7b30ce754eb1718456c1aef.tar.gz
vdr-ca479d90dfe6c773e7b30ce754eb1718456c1aef.tar.bz2
Displaying command to be executed in status line
Diffstat (limited to 'menu.c')
-rw-r--r--menu.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/menu.c b/menu.c
index 1ffee602..8be090f7 100644
--- a/menu.c
+++ b/menu.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: menu.c 1.173 2002/03/22 14:39:04 kls Exp $
+ * $Id: menu.c 1.174 2002/03/23 15:10:20 kls Exp $
*/
#include "menu.h"
@@ -2231,6 +2231,11 @@ eOSState cMenuCommands::Execute(void)
{
cCommand *command = Commands.Get(Current());
if (command) {
+ char *buffer = NULL;
+ asprintf(&buffer, "%s...", command->Title());
+ Interface->Status(buffer);
+ Interface->Flush();
+ delete buffer;
const char *Result = command->Execute();
if (Result)
return AddSubMenu(new cMenuText(command->Title(), Result, fontFix));