Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

edit-attention: deselect surrounding whitespace #15178

Conversation

catboxanon
Copy link
Collaborator

@catboxanon catboxanon commented Mar 7, 2024

Description

Deselects any surrounding whitespace when editing prompt attention, which will only apply when whitespace is not part of the delimiters option (meaning this won't affect anything for most users since whitespace is part of the default set of delimiters -- but it's a nice QoL for those that don't include it).

Screenshots/videos:

Before

before

After

after

Checklist:

Co-authored-by: missionfloyd <missionfloyd@users.noreply.github.com>
@AUTOMATIC1111 AUTOMATIC1111 merged commit 8b96f3d into AUTOMATIC1111:dev Mar 8, 2024
3 checks passed
@catboxanon catboxanon deleted the feat/edit-attention-whitespace-trim branch March 8, 2024 04:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants