IRC: split on word if possible, + flush #1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "spqrz/consciousness:master"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
First-time contributor who's not used to writing in Rust, please check I didn't mess up. Thanks
Added one more tweak: we don't want split_at to be 0 under any circumstances, so stop searching for space at 1. Stops an extremely unlikely loop when we're sending a message that starts with a space (such as indented code) and
targetis unrealistically long. (Low priority because atarget.len()big enough for this to cause an actual problem is extremely unlikely to ever occur, but the pedantic purist in me wants to put this in anyway.)As the PR was already merged I meant to make it a separate PR but Forgejo made it the same PR without me asking. I probably have to delete and re-create the fork or create a new branch for a new PR. Meanwhile I guess it can be re-merged?
Just noticed Forgejo is giving us a warning on the command-line instructions: "The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards." I wonder if that's why Forgejo counted it as "still open" this morning if commit
ed896d4e83was a manual merge that didn't auto-close the PRView command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.