diff options
author | Daniel Friesel <derf@finalrewind.org> | 2017-08-23 18:37:24 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2017-08-23 18:37:24 +0200 |
commit | 3b53d965289346b73a6af42225175768e5e202fc (patch) | |
tree | 04ffe00e3dde2f2d679c5ab73ec502887a22e061 /src/main.c | |
parent | 84c27062d8035b634d13e96858cfa34fa7e67173 (diff) |
Add terminal-input support for space and return
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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; |