Will McGugan

Results 137 issues of Will McGugan

We have a lot of imports like this for various typing related things: ```python if sys.version_info >= (3, 10): from typing import TypeAlias else: # pragma: no cover from typing_extensions...

We have the `run_test` context manager which can automate a Textual app. And we have snapshots, but the two systems don't yet work well together. I think we can combine...

The `query_one` method should raise an exception if there isn't exactly one result from the query.

The remove method on Widget, and Query, should return an waitable. This is to that you can await the result to guarantee that the widget has actually been removed. This...

An experiment that uses a thread to write to stdout. I discovered that writing to stdout was surprisingly slow. Some writes were in the order of 20ms. I suspect because...

Widget.scroll_to should accept an easing argument. And the methods that call it (`scroll_home`, `scroll_up`, etc) should also take `easing` and pass it to `scroll_to`.

Added docs for the color system. Contains the theory. We should probably suppliment this with a more practical example(s) as some point.

Some work on the Textual site. - The Styles / Widgets / Events references are now under a single heading of "Reference". The api-level docs are under "API" - Added...