Skip to content

Commit

Permalink
Extend the default notification timeout from 3 to 5 seconds
Browse files Browse the repository at this point in the history
  • Loading branch information
davep committed Jan 22, 2024
1 parent ce96219 commit 748f309
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/textual/notifications.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class Notification:
severity: SeverityLevel = "information"
"""The severity level for the notification."""

timeout: float = 3
timeout: float = 5
"""The timeout for the notification."""

raised_at: float = field(default_factory=time)
Expand Down

0 comments on commit 748f309

Please sign in to comment.