Fun read. Wonder if you are able to edit text in the shell, or if you need to implement a gap buffer to allow it?