basic CLI text editor