remove duplicated code
authorMichael Göhler <somebody.here@gmx.de>
Wed, 17 Sep 2014 20:53:11 +0000 (22:53 +0200)
committerMichael Göhler <somebody.here@gmx.de>
Wed, 17 Sep 2014 20:53:11 +0000 (22:53 +0200)
viewer.c

index a97e44d..793e4da 100644 (file)
--- a/viewer.c
+++ b/viewer.c
@@ -93,9 +93,6 @@ int ncurses_display(deck_t *deck, int notrans, int nofade) {
         return(1);
     }
 
-    // replace stdin with current tty if markdown input was piped
-    freopen("/dev/tty", "rw", stdin);
-
     // disable cursor
     curs_set(0);