Python 3.13: Fix and polish #1

Merged
vilmibm merged 15 commits from noelle/tilde-train:python-3.13 into trunk 2025-06-02 22:23:23 +00:00
Showing only changes of commit 29a8ffa91e - Show all commits

View File

@ -1,17 +1,16 @@
#!/usr/bin/env python3 #!/usr/bin/env python3
## _ _ _ _ _ _ ## _ _ _ _ _ _
## | |_(_) |__| |___ | |_ _ _ __ _(_)_ _ ## | |_(_) |__| |___ | |_ _ _ __ _(_)_ _
## | _| | / _` / -_)| _| '_/ _` | | ' \ ## | _| | / _` / -_)| _| '_/ _` | | ' \
## \__|_|_\__,_\___(_)__|_| \__,_|_|_||_| ## \__|_|_\__,_\___(_)__|_| \__,_|_|_||_|
## ##
## tilde.train is an instance of TerminalTrain. It was originally developed ## tilde.train is an instance of TerminalTrain. It was originally developed
## by cmccabe on tilde.town but is now maintained in tildegit with the main ## by cmccabe on tilde.town (https://tildegit.org/cmccabe/TerminalTrain) but is now
## development ocurring on rawtext.club. ## maintained by vilmibm.
## ##
## If you want to contribute to code improvement, or if you have suggestions ## If you want to contribute code improvements, create a pull request here:
## for cmccabe, create a pull request here: https://tildegit.org/cmccabe/TerminalTrain ## https://git.tilde.town/vilmibm/tilde-train
## or email cmccabe at cmccabe@rawtext.club
## ##
## ----------------- ## -----------------
## ##
@ -27,7 +26,7 @@
## * turn main loop into a function, so cmd line arg reader can call it (with -p) and quit. ## * turn main loop into a function, so cmd line arg reader can call it (with -p) and quit.
## * figure out why tilde.train doesn't work in some terminals (sthg sthg unicode...) ## * figure out why tilde.train doesn't work in some terminals (sthg sthg unicode...)
## * BUGFIX-1 - something about inclusion default cars adding extra "links" to the train. ## * BUGFIX-1 - something about inclusion default cars adding extra "links" to the train.
## * the -p (print train) option should print all cars, not limited to the max_cars value. ## * the -p (print train) option should print all cars, not limited to the max_cars value.
## * related to BUGFIX-1, that seems to impact spacers (links) between cars. ## * related to BUGFIX-1, that seems to impact spacers (links) between cars.
## * allow users to create multiple frames so their cars can be animated (difficulty=med+) ## * allow users to create multiple frames so their cars can be animated (difficulty=med+)
## * allow user configurable speed and number of train cars ## * allow user configurable speed and number of train cars