[PATCH ed v3] fix s/ /\<enter><enter>
Export this patch
Signed-off-by: Curtis Arthaud <uku82@gmx.fr>
---
parse.ha | 6 ------
1 file changed, 6 deletions(-)
diff --git a/parse.ha b/parse.ha
index 5e65128..11ecbf2 100644
--- a/parse.ha
+++ b/parse.ha
@@ -105,12 +105,6 @@ fn parse(input: *bufio::scanner) (Command | ParseError | InteractionError) = {
case io::EOF =>
break;
};
- // workaround scan_line undelimited last line.
- // note, GNU ed would use "p\n" instead.
- if (inputline == "") {
- append(cmd.textinput, "\n");
- break;
- };
let t = strings::iter(inputline);
let (part, seen_delim) = scan_item(&t, cmd.delim);
--
2.44.0
Thank you. Applied to master.
To git.sr.ht:~torresjrjr/ed
3350101..8ef74c1 master -> master