X-Git-Url: https://git.danieliu.xyz/?a=blobdiff_plain;ds=sidebyside;f=viewer.c;h=a97e44dc4bdb185d93aff60784571934d5deffd7;hb=d1a7b3c065e6f6d4839cc6107284f3e715d6f7ab;hp=5fedbf7834cc221d2611231da13f6786a0d40feb;hpb=eb71b6fcaa43c3743b93386b9651789e2a60ffcb;p=smdp.git diff --git a/viewer.c b/viewer.c index 5fedbf7..a97e44d 100644 --- a/viewer.c +++ b/viewer.c @@ -81,9 +81,6 @@ int ncurses_display(deck_t *deck, int notrans, int nofade) { // set locale to display UTF-8 correctly in ncurses setlocale(LC_CTYPE, ""); - // replace stdin with current tty if markdown input was piped - freopen("/dev/tty", "rw", stdin); - // init ncurses initscr();