diff options
author | Rory Dudley | 2024-07-08 16:00:19 -0600 |
---|---|---|
committer | Rory Dudley | 2024-07-08 16:00:19 -0600 |
commit | 13406827a6f13be62659cdb6dcaf3504b5e6210b (patch) | |
tree | 8844dbc7766b3423a97fb7782af72299db418087 /src/buffer.rs | |
parent | e022a7eff4b9af4df3b3a852b911d89a04fdb98b (diff) | |
download | dwarvish-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