X-Git-Url: https://git.danieliu.xyz/?p=smdp.git;a=blobdiff_plain;f=src%2Fviewer.c;h=747329cb288599cab7245c7d079ccaec65700737;hp=81614e11865437d71d0b6b59c11208d440d17a18;hb=43aa3385fb0e78b302a9191789d59115402035f8;hpb=bce8b746ac3658caac9e5eb6d0fc70e4db83293b diff --git a/src/viewer.c b/src/viewer.c index 81614e1..747329c 100644 --- a/src/viewer.c +++ b/src/viewer.c @@ -297,6 +297,7 @@ int ncurses_display(deck_t *deck, int notrans, int nofade, int invert) { // show previous slide case KEY_UP: case KEY_LEFT: + case KEY_PPAGE: case 8: // BACKSPACE (ascii) case 127: // BACKSPACE (xterm) case 263: // BACKSPACE (getty) @@ -313,6 +314,7 @@ int ncurses_display(deck_t *deck, int notrans, int nofade, int invert) { // show next slide case KEY_DOWN: case KEY_RIGHT: + case KEY_NPAGE: case '\n': // ENTER case ' ': // SPACE case 'j':