lualoader: Use printc when we expect ANSI escape sequences
This commit is contained in:
parent
49f12e36d0
commit
9895e5d41b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=331314
@ -313,7 +313,7 @@ function drawer.drawmenu(menudef)
|
|||||||
entry_num = entry_num + 1
|
entry_num = entry_num + 1
|
||||||
screen.setcursor(x, y + effective_line_num)
|
screen.setcursor(x, y + effective_line_num)
|
||||||
|
|
||||||
print(entry_num .. ". " .. menuEntryName(menudef, e))
|
printc(entry_num .. ". " .. menuEntryName(menudef, e))
|
||||||
|
|
||||||
-- fill the alias table
|
-- fill the alias table
|
||||||
alias_table[tostring(entry_num)] = e
|
alias_table[tostring(entry_num)] = e
|
||||||
@ -324,7 +324,7 @@ function drawer.drawmenu(menudef)
|
|||||||
end
|
end
|
||||||
else
|
else
|
||||||
screen.setcursor(x, y + effective_line_num)
|
screen.setcursor(x, y + effective_line_num)
|
||||||
print(menuEntryName(menudef, e))
|
printc(menuEntryName(menudef, e))
|
||||||
end
|
end
|
||||||
::continue::
|
::continue::
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user