diff options
| author | Frank LENORMAND <lenormf@gmail.com> | 2019-08-21 10:29:25 +0200 |
|---|---|---|
| committer | Frank LENORMAND <lenormf@gmail.com> | 2019-08-21 10:32:35 +0200 |
| commit | cb2647878b8aeaf43a49bb064e85a5e315f86bcd (patch) | |
| tree | 8aa1b3db4b40fad6ac0c7d7cf26ec98c64d64bf6 /src | |
| parent | 09c514901d84fa9f9be6fa61af183c606e3a5926 (diff) | |
src: Send the stop signal to the entire process group
Whenever a tool spawns the editor (e.g. Git), suspending it with ^Z is not
enough to be sent back to the calling shell - another ^Z is necessary.
Fixes #3061
Diffstat (limited to 'src')
| -rw-r--r-- | src/ncurses_ui.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ncurses_ui.cc b/src/ncurses_ui.cc index 58680546..0b738270 100644 --- a/src/ncurses_ui.cc +++ b/src/ncurses_ui.cc @@ -622,7 +622,7 @@ Optional<Key> NCursesUI::get_next_key() bool mouse_enabled = m_mouse_enabled; enable_mouse(false); - raise(SIGTSTP); // We suspend at this line + kill(0, SIGTSTP); // We suspend at this line check_resize(true); enable_mouse(mouse_enabled); |
