You can use the consoleLib.drawBox() system function to draws a rectangle in the active window, using the specified coordinates. The row and column numbers of these coordinates are relative to the upper left corner of the current window.
consoleLib.drawBox(
row INT in,
column INT in,
depth INT in,
width INT in)