mirror of
https://github.com/charmbracelet/glow.git
synced 2026-08-09 09:49:09 +02:00
Fix a case where file listings could jitter
This commit is contained in:
parent
70a155ee30
commit
a0fb0e4cd0
1 changed files with 1 additions and 1 deletions
|
|
@ -385,7 +385,7 @@ func (m stashModel) getMarkdownByType(types ...DocType) []*markdown {
|
|||
}
|
||||
}
|
||||
|
||||
sort.Sort(markdownsByLocalFirst(agg))
|
||||
sort.Stable(markdownsByLocalFirst(agg))
|
||||
return agg
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue