Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
fd6cbf79
Commit
fd6cbf79
authored
Nov 18, 2007
by
Rafaël Carré
Browse files
ncurses: add a 'g' shortcut to go to the current playing item
parent
16fcd880
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/gui/ncurses.c
View file @
fd6cbf79
...
...
@@ -537,6 +537,9 @@ static int HandleKey( intf_thread_t *p_intf, int i_key )
return
1
;
/* Playlist navigation */
case
'g'
:
FindIndex
(
p_intf
);
break
;
case
KEY_HOME
:
p_sys
->
i_box_plidx
=
0
;
break
;
...
...
@@ -1507,6 +1510,7 @@ static void Redraw( intf_thread_t *p_intf, time_t *t_last_refresh )
MainBoxWrite
(
p_intf
,
l
++
,
1
,
" R Toggle Repeat item"
);
MainBoxWrite
(
p_intf
,
l
++
,
1
,
" o Order Playlist by title"
);
MainBoxWrite
(
p_intf
,
l
++
,
1
,
" O Reverse order Playlist by title"
);
MainBoxWrite
(
p_intf
,
l
++
,
1
,
" g Go to the current playing item"
);
MainBoxWrite
(
p_intf
,
l
++
,
1
,
" / Look for an item"
);
MainBoxWrite
(
p_intf
,
l
++
,
1
,
" A Add an entry"
);
MainBoxWrite
(
p_intf
,
l
++
,
1
,
" D, <del> Delete an entry"
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment