From acf586867ca9c2c56275baaa05f71a2133b22723 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 27 Oct 2023 14:18:46 +0530 Subject: [PATCH] Fix empty emoticons panel in unicode input kitten Fixes #6760 --- docs/changelog.rst | 2 ++ kittens/unicode_input/main.go | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/changelog.rst b/docs/changelog.rst index ac00a9dbf09..dbb25d1dcd1 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -82,6 +82,8 @@ Detailed list of changes - :doc:`Desktop notification protocol `: 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 `: Fix a regression that broke the "Emoticons" panel (:iss:`6760`) + 0.30.1 [2023-10-05] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/kittens/unicode_input/main.go b/kittens/unicode_input/main.go index a6cd5c25c4d..e864d510d23 100644 --- a/kittens/unicode_input/main.go +++ b/kittens/unicode_input/main.go @@ -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)) } }