mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-19 15:04:50 +02:00
unicode_input kitten: Fix a regression in 0.28.0 that caused the order of recent and favorites entries to not be respected
Fixes #6214
This commit is contained in:
@@ -82,7 +82,7 @@ func (self *table) current_codepoint() rune {
|
||||
|
||||
func (self *table) set_codepoints(codepoints []rune, mode Mode, current_idx int) {
|
||||
self.codepoints = codepoints
|
||||
if self.codepoints != nil {
|
||||
if self.codepoints != nil && mode != FAVORITES && mode != HEX {
|
||||
slices.Sort(self.codepoints)
|
||||
}
|
||||
self.mode = mode
|
||||
|
||||
Reference in New Issue
Block a user