From 9ec92ee10208b9c6215fa0c231a6668efc447939 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Michael=20G=C3=B6hler?= Date: Wed, 17 Sep 2014 22:53:11 +0200 Subject: [PATCH] remove duplicated code --- viewer.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/viewer.c b/viewer.c index a97e44d..793e4da 100644 --- 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); -- 2.20.1