summaryrefslogtreecommitdiffstats
path: root/src/buffer.rs
diff options
context:
space:
mode:
authorRory Dudley2024-07-08 16:00:19 -0600
committerRory Dudley2024-07-08 16:00:19 -0600
commit13406827a6f13be62659cdb6dcaf3504b5e6210b (patch)
tree8844dbc7766b3423a97fb7782af72299db418087 /src/buffer.rs
parente022a7eff4b9af4df3b3a852b911d89a04fdb98b (diff)
downloaddwarvish-13406827a6f13be62659cdb6dcaf3504b5e6210b.tar.gz
Fix a bug with channels
When using IO operations from within a file, the channel would get overriden before pushing a filename to the appropriate vector (op, ep, or both). This is because Rune::Continue is used for newlines, and was resetting the channel to None, before the push operation. Rune::Continue is now broken out into its own match clause, that doesn't set the channel before calling verse.add().
Diffstat (limited to 'src/buffer.rs')
0 files changed, 0 insertions, 0 deletions