Date: Wed, 21 Mar 2018 18:02:56 +0000 (UTC) From: Kyle Evans <kevans@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r331314 - head/stand/lua Message-ID: <201803211802.w2LI2uu3094465@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201803211802.w2LI2uu3094465>