Skip to content

Terminal messed up after Python (native module) crash #6292

@domdfcoding

Description

@domdfcoding

If a Python native module crashes the interpreter (I'm seeing this with just-playback on CPUs without AVX2, but any native module crash that causes a Fatal Python Error will do the same) the terminal is filled with characters like 51;104;36M51... every time the mouse moves, and I can't highlight or scroll. I assume textual is not properly cleaning up when Python crashes like this. I don't know how to actually get cleanup code to run though - atexit seems to get bypassed.

reset does fix the terminal though.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions