mirror of
https://github.com/1j01/textual-paint.git
synced 2024-11-28 10:03:29 +03:00
Add ASCII rendition of Help window icon
This commit is contained in:
parent
7e2110df37
commit
c063b92c2f
@ -10,7 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
### Changed
|
||||
|
||||
- `--ascii-only-icons` now uses color, and has been otherwise tweaked to make tools easier to distinguish.
|
||||
- `--ascii-only-icons` now affects the icons in the Stretch/Skew dialog, not just tool icons.
|
||||
- `--ascii-only-icons` now affects the icons in the Stretch/Skew dialog, and the Help window icon, not just tool icons.
|
||||
|
||||
### Added
|
||||
|
||||
|
@ -4221,6 +4221,11 @@ Columns: {len(palette) // 2}
|
||||
# Actually, I can make a yellow question mark!
|
||||
# Just don't use emoji for it.
|
||||
icon = "📄[#ffff00]?[/]"
|
||||
# icon = "[#ffffff]🭌[/][#ffff00]?[/]" # also works nicely
|
||||
if args.ascii_only_icons:
|
||||
icon = "[#aaaaaa on #ffffff]=[/][#ffff00]?[/]"
|
||||
# Honerable mentions: 🯄 ˀ̣
|
||||
|
||||
title = icon + " " + title
|
||||
def handle_button(button: Button) -> None:
|
||||
window.close()
|
||||
|
Loading…
Reference in New Issue
Block a user