Fix empty emoticons panel in unicode input kitten

Fixes #6760
This commit is contained in:
Kovid Goyal 2023-10-27 14:18:46 +05:30
parent 7cb392c7ab
commit acf586867c
No known key found for this signature in database
GPG key ID: 06BC317B515ACE7C
2 changed files with 3 additions and 1 deletions

View file

@ -82,6 +82,8 @@ Detailed list of changes
- :doc:`Desktop notification protocol </desktop-notifications>`: Allow applications sending notifications to specify that the notification should only be displayed if the window is currently unfocused (:iss:`6755`)
- :doc:`unicode_input kitten </kittens/unicode_input>`: Fix a regression that broke the "Emoticons" panel (:iss:`6760`)
0.30.1 [2023-10-05]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

View file

@ -50,7 +50,7 @@ func build_sets() {
}
EMOTICONS_SET = make([]rune, 0, 0x1f64f-0x1f600+1)
for i := 0x1f600; i <= 0x1f64f; i++ {
DEFAULT_SET = append(DEFAULT_SET, rune(i))
EMOTICONS_SET = append(EMOTICONS_SET, rune(i))
}
}