]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
lualoader: only clear the screen before first password prompt
authorkevans <kevans@FreeBSD.org>
Mon, 18 Feb 2019 02:59:47 +0000 (02:59 +0000)
committerkevans <kevans@FreeBSD.org>
Mon, 18 Feb 2019 02:59:47 +0000 (02:59 +0000)
commitacc6aa1475d3d20e09d452ede5e02900fddda80e
tree0a12696845ae7c1ab078096fdfcada91a0c416e6
parent873314cd7b7c9dd5385111a6bb776c891efd4222
lualoader: only clear the screen before first password prompt

This was previously an unconditional screen clear, regardless of whether or
not we would be prompting for any passwords. This is pointless, given that
the screen clear is only there to put our screen into a consistent state
before we draw the prompts and do cursor manipulation.

This is also the only screen clear besides that to draw the menu.  One can
now see early pre-loader and loader output with the menu disabled, which may
be useful for diagnostics.

Reported by: ian
MFC after: 3 days
stand/lua/password.lua