svn commit: r331314 - head/stand/lua

Kyle Evans kevans at FreeBSD.org
Wed Mar 21 18:02:56 UTC 2018


Author: kevans
Date: Wed Mar 21 18:02:56 2018
New Revision: 331314
URL: https://svnweb.freebsd.org/changeset/base/331314

Log:
  lualoader: Use printc when we expect ANSI escape sequences

Modified:
  head/stand/lua/drawer.lua

Modified: head/stand/lua/drawer.lua
==============================================================================
--- head/stand/lua/drawer.lua	Wed Mar 21 17:22:42 2018	(r331313)
+++ head/stand/lua/drawer.lua	Wed Mar 21 18:02:56 2018	(r331314)
@@ -313,7 +313,7 @@ function drawer.drawmenu(menudef)
 			entry_num = entry_num + 1
 			screen.setcursor(x, y + effective_line_num)
 
-			print(entry_num .. ". " .. menuEntryName(menudef, e))
+			printc(entry_num .. ". " .. menuEntryName(menudef, e))
 
 			-- fill the alias table
 			alias_table[tostring(entry_num)] = e
@@ -324,7 +324,7 @@ function drawer.drawmenu(menudef)
 			end
 		else
 			screen.setcursor(x, y + effective_line_num)
-			print(menuEntryName(menudef, e))
+			printc(menuEntryName(menudef, e))
 		end
 		::continue::
 	end


More information about the svn-src-all mailing list