You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On Windows, if multiple Tea programs are run successively within the same process, the first program runs fine, but subsequent programs lose the first key pressed. The key is silently eaten, after which point the program appears to operate properly until it terminates. Then rinse/repeat for subsequent Tea programs.
This does not occur on Linux or Mac.
Setup
OS: Windows
Shell: cmd and Powershell (both affected)
Terminal Emulator: Windows Terminal, Windows Powershell Console, Command Prompt
Terminal Multiplexer: none
To Reproduce
Build the example in the source code section for windows
Run it
Type some keys for the first input prompt ("Test 0") and note that it works fine
Type a key for the second input prompt ("Test 1") and note that the first key is eaten, and subsequent keys presses are registered
Describe the bug
On Windows, if multiple Tea programs are run successively within the same process, the first program runs fine, but subsequent programs lose the first key pressed. The key is silently eaten, after which point the program appears to operate properly until it terminates. Then rinse/repeat for subsequent Tea programs.
This does not occur on Linux or Mac.
Setup
To Reproduce
Source Code
Expected behavior
The first key on subsequent Tea programs should not be lost.
Screenshots
The text was updated successfully, but these errors were encountered: