Expression Editor

* Added support for temporary attribues
* Redesigned persistent expressions toggles and simplified them
* Improved defined expressions dictionary handling and added imap sorting
* Simplified parts of code
* Fixed prompt screen incompatibility with Text displayables
This commit is contained in:
LoafyLemon 2023-04-27 20:46:24 +01:00
parent 2d56efde49
commit 395c3d4397
2 changed files with 68 additions and 79 deletions

View File

@ -28,9 +28,14 @@ screen confirm(message, yes_action=Return(True), no_action=Return(False)):
vbox:
spacing 25
text "[message!t]":
xalign 0.5
text_align 0.5
if isinstance(message, str):
text "[message!t]":
xalign 0.5
text_align 0.5
else:
text message:
xalign 0.5
text_align 0.5
hbox:
xalign 0.5

File diff suppressed because it is too large Load Diff