Skip to content

Remove runs of multiple spaces before sending#76

Open
mattmelling wants to merge 1 commit into
sc0tfree:mainfrom
mattmelling:remove-multiple-spaces
Open

Remove runs of multiple spaces before sending#76
mattmelling wants to merge 1 commit into
sc0tfree:mainfrom
mattmelling:remove-multiple-spaces

Conversation

@mattmelling

Copy link
Copy Markdown

I noticed that when running in POTA mode, with the "US Callsigns Only" option disabled, non-US stations leave a slightly longer gap between their RST and BK than US stations because the state is blank.

This PR removes any runs of more than one space and replaces with a single space just before tokenisation, so that the gap is a normal word separator length rather than the three spaces that result from the interpolation of a blank state.

Thanks for a great tool, I use it daily :)

73 de G4IYT

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.

1 participant