diff options
author | mathieui <mathieui@mathieui.net> | 2019-09-22 17:35:07 +0200 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2020-05-09 19:46:17 +0200 |
commit | 41127e50abc3e126f953af5ad638f92d0848f9f1 (patch) | |
tree | ebc7c7a4557e1d005f2bf5a52b84f460342dca63 /poezio/tabs/basetabs.py | |
parent | d22b4b8c218cbbaee62002d751bd69bfe1d1deab (diff) | |
download | poezio-41127e50abc3e126f953af5ad638f92d0848f9f1.tar.gz poezio-41127e50abc3e126f953af5ad638f92d0848f9f1.tar.bz2 poezio-41127e50abc3e126f953af5ad638f92d0848f9f1.tar.xz poezio-41127e50abc3e126f953af5ad638f92d0848f9f1.zip |
Move message rendering code to Message.render()
Also:
- rename format_chars to FORMAT_CHARS because it’s static constant
- move Line, Message, and a few funcs/consts to a new poezio.ui module
Diffstat (limited to 'poezio/tabs/basetabs.py')
-rw-r--r-- | poezio/tabs/basetabs.py | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/poezio/tabs/basetabs.py b/poezio/tabs/basetabs.py index fca54860..40868e2f 100644 --- a/poezio/tabs/basetabs.py +++ b/poezio/tabs/basetabs.py @@ -31,7 +31,13 @@ from typing import ( TYPE_CHECKING, ) -from poezio import mam, poopt, timed_events, xhtml, windows +from poezio import ( + mam, + poopt, + timed_events, + xhtml, + windows +) from poezio.core.structs import Command, Completion, Status from poezio.common import safeJID from poezio.config import config |