diff --git a/data/computercraft/lua/rom/programs/shell.lua b/data/computercraft/lua/rom/programs/shell.lua index e1b7261..b18e0d2 100644 --- a/data/computercraft/lua/rom/programs/shell.lua +++ b/data/computercraft/lua/rom/programs/shell.lua @@ -66,7 +66,7 @@ local history = {} while true do term.setTextColor(colors.yellow) term.setBackgroundColor(colors.black) - rc.write(colors.yellow.."$"..shell.dir()..colors.green.." >>> ") + rc.write(textutils.coloredPrint(colors.yellow, "$"..shell.dir(), colors.green, " >>> ")) term.setTextColor(colors.white) local text = term.read(nil, history, shell.complete)