tedit:

Format:

tedit: name, row, col, fcolor, bcolor, maxlen

Creates an edit field at row and column, with specified text and background color with a length of maxlen. Use focustedit: to draw the edit field and wait for input.

Parameters:

name: The name of the edit field.
row: The screen row of the edit field.
col: The column of the first character of the edit field. Be sure that col + maxlen does not go off the edge of the screen.
fcolor: The text color.
bcolor: The background color of the edit field.
maxlen: The maximum length of the edit field.