Commit Graph

6 Commits

Author SHA1 Message Date
Qi Xiao
8b2e669a5f Remove unused code. 2020-08-23 16:04:44 +01:00
Kurtis Rader
c30a9ff9ad Tell external cmds to ignore job control signals
Since elvish does not support job control it should run all external
commands with the tty job control signals set to be ignored. See "APUE",
third edition, page 379.

This doesn't actually fix the problem in the case of broken programs
like vim which blindly assume the parent process implements job control.
But there isn't much we can do about that other than try to get those
programs to pay attention to being told to ignore SIGTSTP.

Fixes #988
2020-07-11 14:18:42 +01:00
Qi Xiao
1aa6e057e5 pkg/cli: Add a missing doc comment. 2020-01-12 15:27:36 -05:00
Qi Xiao
d1fdd813e8 pkg/cli: Teach App to not read more events than needed.
This fixes #887.
2020-01-01 23:25:31 +00:00
Qi Xiao
6cc7063a2a pkg/cli/term: Simplify the Reader interface and implementations.
The Reader interface now consist entirely of synchronous methods. The
asynchronous part is done in cli.aTTY.
2020-01-01 15:32:20 +00:00
Qi Xiao
e45fdf7228 Move all libraries to new pkg/. 2019-12-23 20:00:59 +00:00