X-Git-Url: https://git.danieliu.xyz/?a=blobdiff_plain;f=viewer.c;h=793e4da97f61ee7ff7e3a4ef1e66cb3931ca7bc5;hb=9ec92ee10208b9c6215fa0c231a6668efc447939;hp=a97e44dc4bdb185d93aff60784571934d5deffd7;hpb=d1a7b3c065e6f6d4839cc6107284f3e715d6f7ab;p=smdp.git 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);