Skip to content
This repository has been archived by the owner on Jun 1, 2023. It is now read-only.

fix exception at exit #6

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

MBoldyrev
Copy link
Contributor

Signed-off-by: Mikhail Boldyrev [email protected]

when going back beyond the last asciimatics effect (like a UI state) an out of range exception was thrown when trying to access the last element of an empty list.

this change also adds some termination code. although it employs an exception, it seems the right way to terminate the UI.

Signed-off-by: Mikhail Boldyrev <[email protected]>
Base automatically changed from master to main January 22, 2021 20:20
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant