merge improvements from MirBSD CVS:
authormirabilos <m@mirbsd.org>
Sun, 2 Dec 2018 08:13:37 +0000 (08:13 +0000)
committermirabilos <m@mirbsd.org>
Sun, 2 Dec 2018 08:13:37 +0000 (08:13 +0000)
commit57b33d16daa952309632da0165818227ec625e18
tree6fae46b8a58984eaa75c2eba471334ffc7260ad1
parent8e2c005e66b18026e1691e0d70b466c2a2a55057
merge improvements from MirBSD CVS:

• handle nonzero exits (and signals) correctly in EXIT trap
• cache current line and only draw when necessary/forced
mksh/progress-bar