mirror of
https://github.com/charmbracelet/glow
synced 2024-09-28 20:23:45 +00:00
Fix a case where file listings could jitter
This commit is contained in:
parent
70a155ee30
commit
a0fb0e4cd0
|
@ -385,7 +385,7 @@ func (m stashModel) getMarkdownByType(types ...DocType) []*markdown {
|
|||
}
|
||||
}
|
||||
|
||||
sort.Sort(markdownsByLocalFirst(agg))
|
||||
sort.Stable(markdownsByLocalFirst(agg))
|
||||
return agg
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue