screen-editor / se

se is a screen oriented version of the classic UNIX text editor ed.
Other
39 stars 3 forks source link

Support ed(1) `Q` command. #20

Closed SirWumpus closed 1 year ago

SirWumpus commented 1 year ago

se supports q!, an ex/vi command. to quit the editor ignoring any file changes For consistency with ed(1), it should also support Q.

SirWumpus commented 1 year ago

Initial attempt to implement Q hits a snag. Upper case letters are used to reference screen rows (instead of using a line number). This might not be possible without breaking historical se behaviour, unless in absolute line number mode.

Leave as-is.