To change the title of the ZTERM window, use this escape sequence.
Parameter |
Value or Description |
Lead in |
CHR$(27) CHR$(13) |
Label |
NULL terminated |
Example
PRINT CHR$(27);CHR$(13);"Rod's wonderful application";CHR$(0);
The label is limited to 255 bytes. Anything over or any non-printable characters will cause this function to abort and not update the title.
Keep in mind that the window size is variable and therefore the label may not fit.