We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c1e156 commit 4fe051aCopy full SHA for 4fe051a
browsr/browsr.py
@@ -19,7 +19,7 @@
19
from rich.syntax import Syntax
20
from rich.traceback import Traceback
21
from rich_pixels import Pixels
22
-from textual import on
+from textual import on, work
23
from textual.binding import Binding, BindingType
24
from textual.containers import Container, Horizontal
25
from textual.events import Mount
@@ -346,6 +346,7 @@ def _get_download_file_name(self) -> pathlib.Path:
346
handled_download_path = handle_duplicate_filenames(file_path=download_path)
347
return handled_download_path
348
349
+ @work(thread=True)
350
def download_selected_file(self) -> None:
351
"""
352
Download the selected file.
0 commit comments