From 04083a73f8b0abcc98c3fe9fd220f0c7ae4542b4 Mon Sep 17 00:00:00 2001 From: Will McGugan Date: Thu, 4 May 2023 11:46:20 +0100 Subject: [PATCH] exclusive false (#2470) * exclusive false * changelog --- CHANGELOG.md | 1 + src/textual/dom.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 798fb051d7..fbc8be1788 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/). ### Changed - The DataTable cursor is now scrolled into view when the cursor coordinate is changed programmatically https://github.com/Textualize/textual/issues/2459 +- run_worker exclusive parameter is now `False` by default https://github.com/Textualize/textual/pull/2470 ## [0.23.0] - 2023-05-03 diff --git a/src/textual/dom.py b/src/textual/dom.py index 3f549b059b..1c8512f111 100644 --- a/src/textual/dom.py +++ b/src/textual/dom.py @@ -240,7 +240,7 @@ def run_worker( description: str = "", exit_on_error: bool = True, start: bool = True, - exclusive: bool = True, + exclusive: bool = False, ) -> Worker[ResultType]: """Run work in a worker.