loader: Fully reset terminal settings, not just colors

Reviewed by:	kevans
Reviewed by:	tsoome
Approved by:	mav (mentor)
MFC after:	1 week
Sponsored by:	iXsystems, Inc.
Differential Revision:	https://reviews.freebsd.org/D21733
This commit is contained in:
Ryan Moeller
2020-03-27 17:37:31 +00:00
parent cfe7aad9c3
commit 73531a2abd
5 changed files with 19 additions and 15 deletions
+1
View File
@@ -103,6 +103,7 @@ core.KEY_DELETE = 127
-- other contexts (outside of Lua) may mean 'octal'
core.KEYSTR_ESCAPE = "\027"
core.KEYSTR_CSI = core.KEYSTR_ESCAPE .. "["
core.KEYSTR_RESET = core.KEYSTR_ESCAPE .. "c"
core.MENU_RETURN = "return"
core.MENU_ENTRY = "entry"