kconfig/mconf.c: revision of curses initialization.
authorDirk Gouders <gouders@et.bocholt.fh-gelsenkirchen.de>
Mon, 6 Aug 2012 14:48:23 +0000 (16:48 +0200)
committerMichal Marek <mmarek@suse.cz>
Thu, 30 Aug 2012 12:47:34 +0000 (14:47 +0200)
commit3eb95c84ee594d4a4e5a8c37b01464cff4762c96
tree9a23135c58138bbe871258bee71d41c60caf1868
parent0d7614f09c1ebdbaa1599a5aba7593f147bf96ee
kconfig/mconf.c: revision of curses initialization.

Since commit d0e1e09568 initscr() is called twice in mconf.

Do it only in init_dialog() in util.c and there also save the
cursor position for the signal handler in mconf.c.

Signed-off-by: Dirk Gouders <gouders@et.bocholt.fh-gelsenkirchen.de>
Signed-off-by: Michal Marek <mmarek@suse.cz>
scripts/kconfig/lxdialog/dialog.h
scripts/kconfig/lxdialog/util.c
scripts/kconfig/mconf.c