pinosaur
/
smdp.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
moved file handling to mdp.c completely
[smdp.git]
/
viewer.c
diff --git
a/viewer.c
b/viewer.c
index
5fedbf7
..
a97e44d
100644
(file)
--- 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();