if telopt is TELOPT_NAWS:
user.columns = (
text[position + 3] * 256 + text[position + 4])
+ user.rows = (
+ text[position + 5] * 256 + text[position + 6])
elif telopt is TELOPT_TTYPE and text[position + 3] is IS:
user.ttype = (
text[position + 4:end_subnegotiation]).decode("ascii")