This commit is contained in:
2024-10-23 02:49:56 +02:00
parent 5dbc5378d9
commit ac39556c24
5 changed files with 129 additions and 53 deletions
+3 -1
View File
@@ -64,7 +64,9 @@ fn merge_line(frame_: &str, line_: &str, x: usize) -> String {
if let Some(v) = lm.get(&(i - x)) {
res.push_str(v);
}
if line[i - x] != '\n' {
if line[i - x] == '\n' {
res.push(frame[i]);
} else {
res.push(line[i - x]);
}
} else {