DEV Community

petercour
petercour

Posted on

Writing a Terminal emulator (in Python)

Writing a terminal emulator is quite challenging. Modern terminal emulators have many features, like tabs or multiple windows, zooming and others.

But, there are much features that could be added to a terminal emulator. Like image viewing functionality, playing videos and much more.

For fun, I created my own terminal emulator. It is very basic in the sense it only gets and inputs command output.

At this point it fails to run some editors like nano, emacs. Which is because it only uses command output. To make that work I think it needs stdout/stdin instead.

Because using a QTextBrowser, it supports adding html into the terminal.

Its very experimental, but just for fun :)

Resources:

Top comments (0)