mirror of
https://github.com/ArcaneChat/arcanechat-tui.git
synced 2026-07-03 14:05:26 +02:00
update to work with the new version (2.0.0) of emoji library
This commit is contained in:
@@ -1,5 +1,11 @@
|
||||
# Changelog
|
||||
|
||||
## [Unreleased]
|
||||
|
||||
### Fixed
|
||||
|
||||
- Updated to work with the new version (`2.0.0`) of `emoji` library.
|
||||
|
||||
## [v0.7.1]
|
||||
|
||||
### Fixed
|
||||
@@ -153,6 +159,7 @@
|
||||
- Initial release
|
||||
|
||||
|
||||
[Unreleased]: https://github.com/adbenitez/deltachat-cursed/compare/v0.7.1...HEAD
|
||||
[v0.7.1]: https://github.com/adbenitez/deltachat-cursed/compare/v0.7.0...v0.7.1
|
||||
[v0.7.0]: https://github.com/adbenitez/deltachat-cursed/compare/v0.6.0...v0.7.0
|
||||
[v0.6.0]: https://github.com/adbenitez/deltachat-cursed/compare/v0.5.0...v0.6.0
|
||||
|
||||
@@ -2,4 +2,4 @@ deltachat>=1.79.0
|
||||
urwid>=2.1.2
|
||||
urwid-readline>=0.13
|
||||
notify-py>=0.3.3
|
||||
emoji>=1.7.0
|
||||
emoji>=2.0.0
|
||||
|
||||
@@ -6,10 +6,12 @@ import urwid
|
||||
import urwid_readline
|
||||
from deltachat import Chat, Message
|
||||
from emoji import demojize
|
||||
from emoji.unicode_codes import EMOJI_UNICODE_ENGLISH
|
||||
from emoji.unicode_codes import get_emoji_unicode_dict
|
||||
|
||||
from ..util import COMMANDS, get_subtitle, shorten_text
|
||||
|
||||
EMOJI_UNICODE_ENGLISH = get_emoji_unicode_dict("en")
|
||||
|
||||
|
||||
class ComposerWidget(urwid.Filler):
|
||||
def __init__(self, keymap: dict, display_emoji: bool) -> None:
|
||||
|
||||
Reference in New Issue
Block a user