kconfig: handle SIGINT in menuconfig
I recently got bitten in the ass when pressing Ctrl-C and lost all my current configuration changes. This patch captures SIGINT and allows the user to save any changes. Some code refactoring was made in order to handle the exit behavior. Signed-off-by: NDavidlohr Bueso <dave@gnu.org> Signed-off-by: NArnaud Lacombe <lacombar@gmail.com>
Showing
想要评论请 注册 或 登录