Inverted style causes problems
See original GitHub issueThis doesn’t work as expected:
def bottom_toolbar():
return FormattedText([
("fg:white bg:black", "F1 Help"),
])
Produces:
I thought FormattedText should somehow validate the params.
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Inverted pyramid style – Writing for Strategic Communication ...
In general, news stories are organized using the inverted pyramid style, in which information is presented in descending order of importance. This allows...
Read more >Inversion: The Power of Avoiding Stupidity - Farnam Street
Avoiding stupidity is easier than seeking brilliance. Thinking backward, call it subtractive avoidance or inversion, is less likely to cause harm. Inverting ...
Read more >Inverted Pyramid - A simple formula for writing this way
A simple formula for writing in the Inverted Pyramid style. Used in Journalism & writing for the Web. Everyone needs to know how...
Read more >A Culture of Inverted Sexuality
Our current problems including even the gay-rights movement itself arose as a result of disorders that first became prevalent among heterosexuals.
Read more >Mirror writing: neurological reflections on an unusual ... - NCBI
Apart from mirror writing associated with callosal damage due to stroke and possibly head injury, it is also possible that left‐handed mirror writing...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Actually, it is documented here http://python-prompt-toolkit.readthedocs.io/en/stable/pages/asking_for_input.html#adding-a-bottom-toolbar but I missed that.
I think documented this behavior is enough to close this issue. Need to look for a place to document
bottom_toolbar
and explain that it is a widget with style and behavior that anybody can create. Maybe a tutorial how to create such bar from scratch could be useful. Then people can compare with existing.