DEV Community

petercour
petercour

Posted on

11 1

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:

Image of AssemblyAI

Automatic Speech Recognition with AssemblyAI

Experience near-human accuracy, low-latency performance, and advanced Speech AI capabilities with AssemblyAI's Speech-to-Text API. Sign up today and get $50 in API credit. No credit card required.

Try the API

Top comments (0)

Image of Docusign

🛠️ Bring your solution into Docusign. Reach over 1.6M customers.

Docusign is now extensible. Overcome challenges with disconnected products and inaccessible data by bringing your solutions into Docusign and publishing to 1.6M customers in the App Center.

Learn more

👋 Kindness is contagious

Discover a treasure trove of wisdom within this insightful piece, highly respected in the nurturing DEV Community enviroment. Developers, whether novice or expert, are encouraged to participate and add to our shared knowledge basin.

A simple "thank you" can illuminate someone's day. Express your appreciation in the comments section!

On DEV, sharing ideas smoothens our journey and strengthens our community ties. Learn something useful? Offering a quick thanks to the author is deeply appreciated.

Okay