]> git.gir.st - minesVIiper.git/commit
fix: don't overwrite stored termios structure
authorgirst <girst@users.noreply.github.com>
Sat, 5 Jan 2019 18:08:55 +0000 (19:08 +0100)
committergirst <girst@users.noreply.github.com>
Sat, 5 Jan 2019 18:08:55 +0000 (19:08 +0100)
commitbf011f4df2b534396719acddf772e55ccb9f1485
tree06e21cd8111438d34b7558d9e9759c8e84369111
parent55a442b23c90640f01450f82896c8054f561f59e
fix: don't overwrite stored termios structure

this function was originally intended to only be called once, but when
adding the ex-commands this assumption was violated. checking for
.c_lflag is not perfect, but there should be at least _something_ in
there after tcgetattr. (static variables are zero-initialized)
mines.c
Imprint / Impressum