]> git.tuebingen.mpg.de Git - paraslash.git/commit
gui: Shut down curses before rereading the config file.
authorAndre Noll <maan@systemlinux.org>
Tue, 7 Jan 2014 16:14:12 +0000 (16:14 +0000)
committerAndre Noll <maan@systemlinux.org>
Sun, 4 May 2014 12:04:04 +0000 (14:04 +0200)
commit3ad33afa3db46e394c0a5055a7f6eff7113e8df6
tree19db79f7a800906262d4fc4b6edc0b8685773c42
parentbfdd36f2879b8dee1f6d3330bc49fbb5644d3caf
gui: Shut down curses before rereading the config file.

If the config file contains errors, gui_cmdline_parser_config_file()
calls exit() while curses is still active, leading to messed up
terminal settings. Fix this by calling shutdown_curses() before
parsing the config file, and init_curses() thereafter.
gui.c