A text editor written in Java for console