diff --git a/examples/reference/widgets/FileDownload.ipynb b/examples/reference/widgets/FileDownload.ipynb index 6f4fd1dc58..f59dcebe48 100644 --- a/examples/reference/widgets/FileDownload.ipynb +++ b/examples/reference/widgets/FileDownload.ipynb @@ -26,7 +26,7 @@ "\n", "##### Core\n", "\n", - "* **`auto`** (boolean): Whether to download the file the initial click (if `True`) or when clicking a second time (or via the right-click Save file menu).\n", + "* **`auto`** (boolean): Whether to download the file with the first click (if `True`) or only after clicking a second time (if `False`, enables right-click -> Save as).\n", "* **`callback`** (callable): A callable that returns a file or file-like object (takes precedence over `file` if set). \n", "* **`embed`** (boolean): Whether to embed the data on initialization.\n", "* **`file`** (str, Path or file-like object): A path to a file or a file-like object.\n", diff --git a/panel/pane/_textual.py b/panel/pane/_textual.py index 33e34c210f..0029509eb0 100644 --- a/panel/pane/_textual.py +++ b/panel/pane/_textual.py @@ -66,8 +66,10 @@ def _disable_mouse_support(self) -> None: self.flush() def _process_input(self, event): + # Textual 0.86 changed from `process_event` to `process_message` + fn = self.process_event if hasattr(self, 'process_event') else self.process_message for parsed_event in self._parser.feed(event.new): - self.process_event(parsed_event) + fn(parsed_event) def disable_input(self): if self._input_watcher is None: