Commit 85aa9bb
committed
fim: restore trailing empty line removal on split
The old s:fim_render() stripped trailing empty strings from the split
content lines. This was lost in the refactor, causing extra empty lines
on accept and incorrect cursor positioning (cursor at column 1 of an
empty trailing line instead of the last meaningful line).
Assisted-by: llama.cpp:local pi1 parent 7a4b820 commit 85aa9bb
1 file changed
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1080 | 1080 | | |
1081 | 1081 | | |
1082 | 1082 | | |
1083 | | - | |
| 1083 | + | |
| 1084 | + | |
| 1085 | + | |
| 1086 | + | |
| 1087 | + | |
| 1088 | + | |
1084 | 1089 | | |
1085 | 1090 | | |
1086 | 1091 | | |
| |||
0 commit comments