Compare commits
2 commits
0bb7a62b75
...
64ddd9075c
Author | SHA1 | Date | |
---|---|---|---|
64ddd9075c | |||
fe686b0fd4 |
3 changed files with 34 additions and 1 deletions
|
@ -40,6 +40,7 @@ def makeSelection(scr, SELECTIONS, MSGS):
|
|||
elif inchar == curses.KEY_DOWN and selection < selection_count - 1:
|
||||
selection += 1
|
||||
addSound("keyenter")
|
||||
addSound("keyenter")
|
||||
if MSGS and MSGS[selection]:
|
||||
whole_line = '> ' + MSGS[selection]
|
||||
space = width - len(whole_line) % width
|
||||
|
@ -48,7 +49,6 @@ def makeSelection(scr, SELECTIONS, MSGS):
|
|||
scr.addstr(whole_line)
|
||||
scr.refresh()
|
||||
sleep(2)
|
||||
addSound("keyenter")
|
||||
return selection
|
||||
|
||||
|
||||
|
|
17
poetry.lock
generated
Normal file
17
poetry.lock
generated
Normal file
|
@ -0,0 +1,17 @@
|
|||
# This file is automatically @generated by Poetry and should not be changed by hand.
|
||||
|
||||
[[package]]
|
||||
name = "playsound"
|
||||
version = "1.3.0"
|
||||
description = "Pure Python, cross platform, single function module with no dependencies for playing sounds."
|
||||
category = "main"
|
||||
optional = false
|
||||
python-versions = "*"
|
||||
files = [
|
||||
{file = "playsound-1.3.0.tar.gz", hash = "sha256:cc6ed11d773034b0ef624e6bb4bf50f4b76b8414a59ce6d38afb89b423297ced"},
|
||||
]
|
||||
|
||||
[metadata]
|
||||
lock-version = "2.0"
|
||||
python-versions = "^3.11"
|
||||
content-hash = "79b7abd6f582a63358e09c50526f3f746f0564d87d938f8487db77c09481756f"
|
16
pyproject.toml
Normal file
16
pyproject.toml
Normal file
|
@ -0,0 +1,16 @@
|
|||
[tool.poetry]
|
||||
name = "fallout-term"
|
||||
version = "0.0.1"
|
||||
description = ""
|
||||
authors = ["Firepup Sixfifty <firepyp650@gmail.com>"]
|
||||
readme = "README.md"
|
||||
packages = []
|
||||
|
||||
[tool.poetry.dependencies]
|
||||
python = "^3.11"
|
||||
playsound = "^1.3.0"
|
||||
|
||||
|
||||
[build-system]
|
||||
requires = ["poetry-core"]
|
||||
build-backend = "poetry.core.masonry.api"
|
Loading…
Reference in a new issue