diff --git a/src/apps/system/sertexID.lua b/src/apps/system/sertexID.lua new file mode 100644 index 0000000..bb3bc13 --- /dev/null +++ b/src/apps/system/sertexID.lua @@ -0,0 +1,22 @@ +local function clear() + term.setBackgroundColor(colors.white) + term.setTextColor(colors.black) + term.clear() + term.setCursorPos(1,1) +end + +local function header() + clear() + local w, h = term.getSize() + paintutils.drawLine(1,1,w,1, colors.gray) + term.setTextColor(colors.white) + term.setCursorPos(1,1) + write(" "..sPhone.user) + term.setCursorPos(w,1) + write("X") + term.setCursorPos(1,2) + term.setBackgroundColor(colors.white) + term.setTextColor(colors.black) +end + +header()