Ctrl g leaves cmdline

Fix #4 (feature request)