Skip to content

Add defer to termbox.Close()#4

Open
andrewalexander wants to merge 1 commit intoa8m:masterfrom
andrewalexander:patch-1
Open

Add defer to termbox.Close()#4
andrewalexander wants to merge 1 commit intoa8m:masterfrom
andrewalexander:patch-1

Conversation

@andrewalexander
Copy link

In a tmux window, when play exits, it leaves the terminal in an odd state where newlines aren't registering correctly. Simply adding the defer so that termbox cleanly exits seems to have fixed it for me.

In a tmux window, when play exits, it leaves the terminal in an odd state where newlines aren't registering correctly. Simply adding the defer so that termbox cleanly exits seems to have fixed it for me.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant