sort by name by default

This commit is contained in:
Lilian Jónsdóttir 2024-07-03 15:34:23 -07:00
parent 6af87e4d9d
commit e0ffb8502c

View file

@ -99,7 +99,7 @@ func newModel(fs []files.File, width, height int, readonly, preselected bool, wo
m.table = createTable(columns, rows, theight, m.readonlyOnePage()) m.table = createTable(columns, rows, theight, m.readonlyOnePage())
m.sorting = sorting.Size m.sorting = sorting.Name
m.sort() m.sort()
return m return m