Case-fold patterns.

This commit is contained in:
Nuno Cruces 2022-12-15 03:14:04 +00:00
parent 96942f9acc
commit 98d9f88c95

View file

@ -35,8 +35,9 @@ func selectFileSave(opts options) (string, error) {
return strResult(opts, out, err)
}
func initFilters(filters []FileFilter) []string {
func initFilters(filters FileFilters) []string {
var res []string
filters.casefold()
for _, f := range filters {
var buf strings.Builder
buf.WriteString("--file-filter=")