Add C-z command to suspend the editor to the calling shell#16
Add C-z command to suspend the editor to the calling shell#16jorge-leon wants to merge 2 commits intohughbarney:masterfrom
Conversation
|
I added a similar feature to my fork of |
through a friendly note from Duncan Holm and almost literally copied from him: frou/femto@63a3134
Thanks @frou: atto is now under 2000 lines again (1999 :) See https://en.wikipedia.org/wiki/Job_control_%28Unix%29#Implementation, the part on Ctrl-Z. |
This is a useful feature, especially when working on a remote machine.
I am absolutely unsure about the
noraw(); endwin();and theraw(); noecho(); idlok(stdscr, TRUE);sequences, they are just guesses taken frommain.c, but they seem to do their job.Wheelers SLOC: 1622 (vs. 1610)
Line count: 1984 (vs. 1970)