A minimal terminal text editor written in Python and curses.
... How to build a text editor with Python and curses, which walks you through series of fifteen incremental coding problems concluding in a minimal text editor.
The tutorial was featured in Episode 221 of the PythonBytes podcast by Michael Kennedy and Brian Okken.
Many thanks to the following people and projects for sharing their great work, upon which a lot of this was based!
- Many thanks to Pavel Spirhanzl and Alexandre Pajak for their keen eyes in identifying bugs in early versions.
- Gary Bernhardt's Text Editor From Scratch screencast.
- Anthony Sottile's babi.
- nano source.
- Emacs source. In my opinion, the best way to explore the source is through Emacs' built-in help commands.