diff options
author | Lars-Dominik Braun <lars@6xq.net> | 2014-06-16 15:04:08 +0200 |
---|---|---|
committer | Lars-Dominik Braun <lars@6xq.net> | 2014-06-16 15:04:08 +0200 |
commit | 0117308ab5509a5c31b7778f9551f7335c553f77 (patch) | |
tree | f593cb6ced9ce3e7e246545f5db8e7410de28e0e /src/terminal.h | |
parent | 8cc95de0834c5217b080ad25907501f5ad152f6e (diff) | |
download | pianobar-0117308ab5509a5c31b7778f9551f7335c553f77.tar.gz pianobar-0117308ab5509a5c31b7778f9551f7335c553f77.tar.bz2 pianobar-0117308ab5509a5c31b7778f9551f7335c553f77.zip |
Re-init terminal when awaking from ^Z
And simplify code that nobody touched in a long long timeā¦ Fixes input
issues reported in #458.
Diffstat (limited to 'src/terminal.h')
-rw-r--r-- | src/terminal.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/terminal.h b/src/terminal.h index 4ada438..c43d01b 100644 --- a/src/terminal.h +++ b/src/terminal.h @@ -24,9 +24,7 @@ THE SOFTWARE. #ifndef SRC_TERMINAL_H_WY8F3MNH #define SRC_TERMINAL_H_WY8F3MNH -void BarTermSetEcho (char); -void BarTermSetBuffer (char); -void BarTermSave (struct termios *); -void BarTermRestore (struct termios *termOrig); +void BarTermInit (); +void BarTermRestore (); #endif /* SRC_TERMINAL_H_WY8F3MNH */ |