Author: kevans Date: Mon Feb 19 02:09:10 2018 New Revision: 329549 URL: https://svnweb.freebsd.org/changeset/base/329549
Log: stand/lua: Clear the screen before prompting for passwords In the worst case scenario, we have no passwords to prompt for and we end up just clearing the screen twice before we draw the menu or proceed with boot. In the best case scenario, we don't try drawing password prompts amidst a bunch of kernel/module loading. Modified: head/stand/lua/password.lua Modified: head/stand/lua/password.lua ============================================================================== --- head/stand/lua/password.lua Mon Feb 19 02:01:49 2018 (r329548) +++ head/stand/lua/password.lua Mon Feb 19 02:09:10 2018 (r329549) @@ -58,6 +58,7 @@ function password.read() end function password.check() + screen.clear(); screen.defcursor(); -- pwd is optionally supplied if we want to check it local function do_prompt(prompt, pwd) _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"