Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@ 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.17.1] - 2023-03-30

### Fixed

- Fix cursor not hiding on Windows https://github.com/Textualize/textual/issues/2170
- Fixed freeze when ctrl-clicking links https://github.com/Textualize/textual/issues/2167 https://github.com/Textualize/textual/issues/2073

## [0.17.0] - 2023-03-29

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "textual"
version = "0.17.0"
version = "0.17.1"
homepage = "https://github.com/Textualize/textual"
description = "Modern Text User Interface framework"
authors = ["Will McGugan <will@textualize.io>"]
Expand Down
1 change: 0 additions & 1 deletion src/textual/_xterm_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
from . import events, messages
from ._ansi_sequences import ANSI_SEQUENCES_KEYS
from ._parser import Awaitable, Parser, TokenCallback
from ._types import MessageTarget
from .keys import KEY_NAME_REPLACEMENTS, _character_to_key

# When trying to determine whether the current sequence is a supported/valid
Expand Down
5 changes: 4 additions & 1 deletion src/textual/driver.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,10 @@ def process_event(self, event: events.Event) -> None:
self._down_buttons.append(event.button)
elif isinstance(event, events.MouseUp):
if event.button:
self._down_buttons.remove(event.button)
try:
self._down_buttons.remove(event.button)
except ValueError:
pass
elif isinstance(event, events.MouseMove):
if (
self._down_buttons
Expand Down
2 changes: 1 addition & 1 deletion src/textual/drivers/windows_driver.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def start_application_mode(self) -> None:

self.write("\x1b[?1049h") # Enable alt screen
self._enable_mouse_support()
self.write("\x1b[?25h") # Hide cursor
self.write("\x1b[?25l") # Hide cursor
self.write("\033[?1003h\n")
self._enable_bracketed_paste()

Expand Down