Skip to contentSkip to conversation

Patch: Add navigation hint

Powertop Jaroslav Skarvada 1 participant 1 message Feb 27, 2015 1 message not in the archive

lore
Share & tools
lore

Jaroslav Skarvada

author
#1 lore raw
In reply to a message not in the archive

Hi,

I am forwarding patch from Pierre-Yves Chibon <pingou(a)pingoured.fr> which adds navigation hint to the status bar, downstream bugzilla:
http://bugzilla.redhat.com/show_bug.cgi?id=1191112

thanks & regards

Jaroslav

src/display.cpp +3 -1
index b6c9200..c051520 100644
@@ -127,7 +127,9 @@ void show_tab(unsigned int tab)
 	if (c && strlen(c) > 0)
 		mvwprintw(bottom_line, 0,0, c);
 	else
-		mvwprintw(bottom_line, 0,0,"<ESC> %s | ",_("Exit"));
+		mvwprintw(bottom_line, 0, 0,
+			"<ESC> %s | <TAB> / <Shift + TAB> %s | ", _("Exit"),
+			_("Navigate"));
 
 
 	current_tab = tab;