getchar() fails to raise KeyboardInterrupt on Python3

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Closed

#1115

Assignees

davidism

Labels

Milestone

@mbr

Description

On Python3 (click6.6), getchar() will just pass on Ctrl+C instead of raising a KeyboardInterrupt. I would assume this is because ch == '\x03: should be ch == b'\x03' in _termui_impl.py.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions