check for empty selection and return early if blank.

this fixes a crash should a draw be attempted without a selection.
This commit is contained in:
2026-02-21 21:56:05 +00:00
parent 9405b4a588
commit 47ced52722
2 changed files with 8 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
[project]
name = "lottery-tui"
version = "0.2.0"
version = "0.2.1"
description = "A terminal user interface for lottery games."
authors = [{ name = "onyx-and-iris", email = "code@onyxandiris.online" }]
dependencies = ["textual>=8.0.0"]