]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
lualoader: Reset attributes and color scheme with color.highlight()
authorkevans <kevans@FreeBSD.org>
Tue, 20 Mar 2018 20:05:11 +0000 (20:05 +0000)
committerkevans <kevans@FreeBSD.org>
Tue, 20 Mar 2018 20:05:11 +0000 (20:05 +0000)
commitf8478f0d436954d736a1dd85e93c58da5b6efeaa
tree8949bf6c185537fc04c25f025f0422c6a8d47132
parentbd06dc7104e1abaa5bcb2cfa69d71abc3283a0a8
lualoader: Reset attributes and color scheme with color.highlight()

Previously, we sent a CSI 0m sequence to reset attributes, which also reset
the color scheme if the terminal defaults didn't match what we're expecting.
Go all-in and reset the color scheme, too, just in case.

Reported by: emaste
stand/lua/color.lua