commit 854751bcf23092e379bca742a54235fbf3b1acf9 parent 63893474befccbed7a69e2738a48267d4a6652e2 Author: phoebos <ben@bvnf.space> Date: Fri, 24 Sep 2021 19:32:41 +0100 ed: if the buffer was written allow 'q' Diffstat:
M | ed.c | | | 1 | + |
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/ed.c b/ed.c @@ -286,6 +286,7 @@ ed(char *startfile) { if (startfile) { if (write_buf(startfile) != 0) continue; + changed = 0; } else printf("? writing to a new filename not yet implemented\n"); break;