Give input the same trim_prompt setting select already has.
Context
What is the problem you are trying to solve?
It's really only a minor aesthetic improvement. Also makes input and select more consistent, as they both now have a trim_prompt setting.
Description
Describe how the changes add the functionality or fix the issue under "Context"
The gist of it: if input.trim_only then title = title:gsub(":$", "").
Test Plan
list the steps you took to test this functionality. Steps should be
reproducible by others.
Give
input
the sametrim_prompt
settingselect
already has.Context
What is the problem you are trying to solve?
It's really only a minor aesthetic improvement. Also makes
input
andselect
more consistent, as they both now have atrim_prompt
setting.Description
Describe how the changes add the functionality or fix the issue under "Context" The gist of it: if
input.trim_only
thentitle = title:gsub(":$", "")
.Test Plan
list the steps you took to test this functionality. Steps should be reproducible by others.
confirm that it works correctly: