summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c
index 9e4081b..57b7a7b 100644
--- a/src/main.c
+++ b/src/main.c
@@ -119,8 +119,7 @@ int feh_main_iteration(int block)
if (tcgetattr(STDIN_FILENO, &ctrl) == -1)
eprintf("tcgetattr failed");
ctrl.c_iflag &= ~(PARMRK | ISTRIP
- | INLCR | IGNCR | ICRNL | IXON);
- ctrl.c_oflag &= ~OPOST;
+ | INLCR | IGNCR | IXON);
ctrl.c_lflag &= ~(ECHO | ICANON | IEXTEN);
ctrl.c_cflag &= ~(CSIZE | PARENB);
ctrl.c_cflag |= CS8;