Commit 28ce886
committed
Pane(fix[paste_buffer]): -r changes separator to newline, not no-trailing
why: paste-buffer -r changes the inter-line separator from carriage
return to newline. It does not suppress a trailing newline. Verified
in cmd-paste-buffer.c: default sepstr is "\r", -r changes to "\n".
what:
- Rename no_trailing_newline param to linefeed_separator
- Update docstring to reflect actual semantics1 parent 6413708 commit 28ce886
1 file changed
Lines changed: 5 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1330 | 1330 | | |
1331 | 1331 | | |
1332 | 1332 | | |
1333 | | - | |
| 1333 | + | |
1334 | 1334 | | |
1335 | 1335 | | |
1336 | 1336 | | |
| |||
1342 | 1342 | | |
1343 | 1343 | | |
1344 | 1344 | | |
1345 | | - | |
1346 | | - | |
| 1345 | + | |
| 1346 | + | |
| 1347 | + | |
1347 | 1348 | | |
1348 | 1349 | | |
1349 | 1350 | | |
| |||
1359 | 1360 | | |
1360 | 1361 | | |
1361 | 1362 | | |
1362 | | - | |
| 1363 | + | |
1363 | 1364 | | |
1364 | 1365 | | |
1365 | 1366 | | |
| |||
0 commit comments