File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed
Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -956,6 +956,10 @@ def startPlaying(self):
956956 self .appState .topLine = 0
957957 elif c in [338 , curses .KEY_END ]: # 338 = end
958958 self .appState .topLine = self .mov .sizeY - self .realmaxY + 2
959+ elif c == curses .KEY_LEFT : # left - previous file
960+ pass
961+ elif c == curses .KEY_RIGHT : # right - next file
962+ pass
959963
960964 if c in [ord ('q' ), ord ('Q' )]:
961965 self .playing = False
@@ -1577,6 +1581,14 @@ def mainLoop(self):
15771581 # Paste from the clipboard
15781582 if self .clipBoard : # If there is something in the clipboard
15791583 self .pasteFromClipboard ()
1584+ elif c == ord ('V' ): # alt-V, View mode
1585+ self .stdscr .clear ()
1586+ self .appState .playOnlyMode = True
1587+ self .startPlaying ()
1588+ self .appState .playOnlyMode = False
1589+ self .statusBar .show ()
1590+ self .cursorOn ()
1591+ self .stdscr .clear ()
15801592 elif c == 82 : # alt-R = set playback range
15811593 self .getPlaybackRange ()
15821594 elif c == 112 : # esc-p - start playing, any key exits
You can’t perform that action at this time.
0 commit comments