diff options
author | David Lechner <david@pybricks.com> | 2022-02-10 13:15:14 -0600 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2022-07-12 17:20:37 +1000 |
commit | 093c4b6b2681951a277c71453598a9e0e2a82f52 (patch) | |
tree | 285f5b58aafda7c0e293e7f9ddb3dec11343a96d /py/objnamedtuple.c | |
parent | 9714a0ead5c74649d676986836ee27fb418aac9e (diff) |
unix/main: Restore tty settings on nlr_jump_fail().
Since nlr_jump_fail() exits the process, it can leave the terminal in raw
mode which means characters are not echoed. Fix this by restoring the
original terminal mode.
Signed-off-by: David Lechner <david@pybricks.com>
Diffstat (limited to 'py/objnamedtuple.c')
0 files changed, 0 insertions, 0 deletions