mirror of
https://github.com/1j01/textual-paint.git
synced 2024-12-01 00:10:06 +03:00
Remove top row of question mark icon which just had underscores
This commit is contained in:
parent
918b6d5887
commit
75f13e95ce
@ -1,4 +1,3 @@
|
||||
[0m[48;2;128;128;128;38;2;0;0;0m [48;2;128;128;128;38;2;0;0;0m_[48;2;128;128;128;38;2;0;0;0m_[48;2;128;128;128;38;2;0;0;0m_[48;2;128;128;128;38;2;0;0;0m_[48;2;128;128;128;38;2;0;0;0m_[48;2;128;128;128;38;2;0;0;0m_[48;2;128;128;128;38;2;0;0;0m [48;2;128;128;128;38;2;0;0;0m [0m
|
||||
[0m[48;2;128;128;128;38;2;255;255;255m▄[48;2;255;255;255;38;2;0;0;0m [48;2;255;255;255;38;2;0;0;0m [48;2;255;255;255;38;2;0;0;0m [48;2;255;255;255;38;2;0;0;0m [48;2;255;255;255;38;2;0;0;0m [48;2;255;255;255;38;2;0;0;0m [48;2;128;128;128;38;2;255;255;255m▄[48;2;128;128;128;38;2;0;0;0m [0m
|
||||
[0m[48;2;255;255;255;38;2;0;0;0m [48;2;255;255;255;38;2;0;0;0m [48;2;255;255;255;38;2;0;0;0m [48;2;255;255;255;38;2;0;0;255m𝟔[48;2;255;255;255;38;2;0;0;255m❩[48;2;255;255;255;38;2;0;0;0m [48;2;255;255;255;38;2;0;0;0m [48;2;255;255;255;38;2;0;0;0m [48;2;128;128;128;38;2;0;0;0m▌[0m
|
||||
[0m[48;2;128;128;128;38;2;255;255;255m▀[48;2;255;255;255;38;2;0;0;0m▂[48;2;255;255;255;38;2;0;0;0m [48;2;255;255;255;38;2;0;0;0m [48;2;255;255;255;38;2;0;0;255m•[48;2;255;255;255;38;2;0;0;0m [48;2;255;255;255;38;2;0;0;0m▁[48;2;0;0;0;38;2;255;255;255m▀[48;2;128;128;128;38;2;0;0;0m▘[0m
|
||||
|
@ -492,7 +492,6 @@ get_warning_icon = lambda: Static("""
|
||||
# I added a little stopgap to save as Rich console markup by using file extension "._RICH_CONSOLE_MARKUP".
|
||||
# It's very messy markup because it's generated from the ANSI art.
|
||||
question_icon_console_markup = """
|
||||
[rgb(0,0,0) on rgb(128,128,128)] [rgb(0,0,0) on rgb(128,128,128)][/rgb(0,0,0) on rgb(128,128,128)]_[rgb(0,0,0) on rgb(128,128,128)][/rgb(0,0,0) on rgb(128,128,128)]_[rgb(0,0,0) on rgb(128,128,128)][/rgb(0,0,0) on rgb(128,128,128)]_[rgb(0,0,0) on rgb(128,128,128)][/rgb(0,0,0) on rgb(128,128,128)]_[rgb(0,0,0) on rgb(128,128,128)][/rgb(0,0,0) on rgb(128,128,128)]_[rgb(0,0,0) on rgb(128,128,128)][/rgb(0,0,0) on rgb(128,128,128)]_[rgb(0,0,0) on rgb(128,128,128)][/rgb(0,0,0) on rgb(128,128,128)] [rgb(0,0,0) on rgb(128,128,128)][/rgb(0,0,0) on rgb(128,128,128)] [/rgb(0,0,0) on rgb(128,128,128)]
|
||||
[rgb(255,255,255) on rgb(128,128,128)]▄[rgb(0,0,0) on rgb(255,255,255)][/rgb(255,255,255) on rgb(128,128,128)] [rgb(0,0,0) on rgb(255,255,255)][/rgb(0,0,0) on rgb(255,255,255)] [rgb(0,0,0) on rgb(255,255,255)][/rgb(0,0,0) on rgb(255,255,255)] [rgb(0,0,0) on rgb(255,255,255)][/rgb(0,0,0) on rgb(255,255,255)] [rgb(0,0,0) on rgb(255,255,255)][/rgb(0,0,0) on rgb(255,255,255)] [rgb(0,0,0) on rgb(255,255,255)][/rgb(0,0,0) on rgb(255,255,255)] [rgb(255,255,255) on rgb(128,128,128)][/rgb(0,0,0) on rgb(255,255,255)]▄[rgb(0,0,0) on rgb(128,128,128)][/rgb(255,255,255) on rgb(128,128,128)] [/rgb(0,0,0) on rgb(128,128,128)]
|
||||
[rgb(0,0,0) on rgb(255,255,255)] [rgb(0,0,0) on rgb(255,255,255)][/rgb(0,0,0) on rgb(255,255,255)] [rgb(0,0,0) on rgb(255,255,255)][/rgb(0,0,0) on rgb(255,255,255)] [rgb(0,0,255) on rgb(255,255,255)][/rgb(0,0,0) on rgb(255,255,255)]𝟔[rgb(0,0,255) on rgb(255,255,255)][/rgb(0,0,255) on rgb(255,255,255)]❩[rgb(0,0,0) on rgb(255,255,255)][/rgb(0,0,255) on rgb(255,255,255)] [rgb(0,0,0) on rgb(255,255,255)][/rgb(0,0,0) on rgb(255,255,255)] [rgb(0,0,0) on rgb(255,255,255)][/rgb(0,0,0) on rgb(255,255,255)] [rgb(0,0,0) on rgb(128,128,128)][/rgb(0,0,0) on rgb(255,255,255)]▌[/rgb(0,0,0) on rgb(128,128,128)]
|
||||
[rgb(255,255,255) on rgb(128,128,128)]▀[rgb(0,0,0) on rgb(255,255,255)][/rgb(255,255,255) on rgb(128,128,128)]▂[rgb(0,0,0) on rgb(255,255,255)][/rgb(0,0,0) on rgb(255,255,255)] [rgb(0,0,0) on rgb(255,255,255)][/rgb(0,0,0) on rgb(255,255,255)] [rgb(0,0,255) on rgb(255,255,255)][/rgb(0,0,0) on rgb(255,255,255)]•[rgb(0,0,0) on rgb(255,255,255)][/rgb(0,0,255) on rgb(255,255,255)] [rgb(0,0,0) on rgb(255,255,255)][/rgb(0,0,0) on rgb(255,255,255)]▁[rgb(255,255,255) on rgb(0,0,0)][/rgb(0,0,0) on rgb(255,255,255)]▀[rgb(0,0,0) on rgb(128,128,128)][/rgb(255,255,255) on rgb(0,0,0)]▘[/rgb(0,0,0) on rgb(128,128,128)]
|
||||
@ -533,9 +532,6 @@ question_icon_console_markup = question_icon_console_markup.replace(" on rgb(128
|
||||
question_icon_console_markup = question_icon_console_markup.replace("rgb(255,255,255)", "rgb(255,255,80)")
|
||||
# also the shadow is normally gray, I just drew it black because I was using gray as the background
|
||||
question_icon_console_markup = question_icon_console_markup.replace("rgb(0,0,0)", "rgb(128,128,128)")
|
||||
# Underscores look silly. I started out by drawing a line art version, which is why they're there,
|
||||
# but it's silly to have a border on just the top.
|
||||
question_icon_console_markup = question_icon_console_markup.replace("_", " ")
|
||||
# Underline "❩" to make it look like the question mark has a serif. Looks bad because it's a wide character.
|
||||
# question_icon_console_markup = question_icon_console_markup.replace("❩", "[u]❩[/u]")
|
||||
get_question_icon = lambda: Static(question_icon_console_markup, classes="question_icon message_box_icon")
|
||||
|
Loading…
Reference in New Issue
Block a user