vis
a vi-like editor based on Plan 9's structural regular expressions
git clone https://9o.is/git/vis.git
commit 8f5545a74957d5947b6636899cc23c283407994b parent 723c1ff4940f9a835187024d9d108c0a2d571f65 Author: Marc André Tanner <mat@brain-dump.org> Date: Wed, 11 Jan 2017 21:12:26 +0100 ui: improve editor suspension Send SIGSTOP to process group. This should fix job control when launched from a script. Diffstat:
| M | ui-curses.c | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ui-curses.c b/ui-curses.c @@ -833,7 +833,7 @@ static void ui_suspend(Ui *ui) { if (change_colors) undo_palette(); endwin(); - raise(SIGSTOP); + kill(0, SIGSTOP); } static bool ui_getkey(Ui *ui, TermKeyKey *key) {