From: Michael Göhler Date: Wed, 17 Sep 2014 20:53:11 +0000 (+0200) Subject: remove duplicated code X-Git-Url: https://git.danieliu.xyz/?a=commitdiff_plain;h=9ec92ee10208b9c6215fa0c231a6668efc447939;p=smdp.git remove duplicated code --- 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);