Skip to content

Ctrl C does not exit the app, error below. #2

@arne182

Description

@arne182

import tutorial
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\Arne Schwarck\Downloads\WPM_Typing_Test-main\WPM_Typing_Test-main\tutorial.py", line 79, in
wrapper(main)
File "C:\Users\Arne Schwarck\Downloads\WPy64-3870\python-3.8.7.amd64\lib\curses_init_.py", line 105, in wrapper
return func(stdscr, *args, **kwds)
File "C:\Users\Arne Schwarck\Downloads\WPM_Typing_Test-main\WPM_Typing_Test-main\tutorial.py", line 72, in main
wpm_test(stdscr)
File "C:\Users\Arne Schwarck\Downloads\WPM_Typing_Test-main\WPM_Typing_Test-main\tutorial.py", line 55, in wpm_test
if ord(key) == 27:
TypeError: ord() expected a character, but string of length 9 found

KeyboardInterrupt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions