TTY
Step 1: Upgrade to TTY shell
python3 -c 'import pty; pty.spawn("/bin/bash")'Step 2: Export terminal environmental variables
$ echo $TERM
xterm-256colorexport TERM=xterm-256color
export SHELL=/bin/bashStep 3: Set up terminal size
$ stty size
36 145Last updated