diff --git a/CHANGELOG.md b/CHANGELOG.md index ee075badff..7b8e0f5be7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/). +## [0.55.1] - 2024-04-2 + +### Fixed + +- Fixed mouse escape sequences being generated with `mouse=False` + ## [0.55.0] - 2024-04-1 ### Fixed diff --git a/pyproject.toml b/pyproject.toml index 613103b530..da5926608d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "textual" -version = "0.55.0" +version = "0.55.1" homepage = "https://github.com/Textualize/textual" repository = "https://github.com/Textualize/textual" documentation = "https://textual.textualize.io/" diff --git a/src/textual/app.py b/src/textual/app.py index d7966761db..861ffe7193 100644 --- a/src/textual/app.py +++ b/src/textual/app.py @@ -1459,7 +1459,7 @@ async def run_async( headless: bool = False, inline: bool = False, inline_no_clear: bool = False, - mouse: bool = False, + mouse: bool = True, size: tuple[int, int] | None = None, auto_pilot: AutopilotCallbackType | None = None, ) -> ReturnType | None: diff --git a/src/textual/drivers/linux_driver.py b/src/textual/drivers/linux_driver.py index 8b38190dc7..2e082264ab 100644 --- a/src/textual/drivers/linux_driver.py +++ b/src/textual/drivers/linux_driver.py @@ -237,7 +237,6 @@ def on_terminal_resize(signum, stack) -> None: termios.tcsetattr(self.fileno, termios.TCSANOW, newattr) self.write("\x1b[?25l") # Hide cursor - self.write("\033[?1003h\n") self.write("\033[?1004h\n") # Enable FocusIn/FocusOut. self.flush() self._key_thread = Thread(target=self._run_input_thread)