Skip to content

Instantly share code, notes, and snippets.

@okineadev
Last active May 7, 2024 05:43
Show Gist options
  • Save okineadev/2b04d842a9122b41f2d83779a9dcd7cf to your computer and use it in GitHub Desktop.
Save okineadev/2b04d842a9122b41f2d83779a9dcd7cf to your computer and use it in GitHub Desktop.
Solving the "Error opening terminal: vt220." problem in Termux

If you have an error "Error opening terminal: vt220." in Termux, then I have found a solution for you

Just run this command in the terminal:

export TERM=xterm-256color

It is also advisable to add it to .bashrc:

echo "export TERM=xterm-256color" >> ~/.bashrc

I found the solution to the error at this link: termux/termux-packages#1946 (comment)

Have a good day!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment