Skip to content

Enable ctrl+c, ctrl+s keyboard events #163

@BenceBakos

Description

@BenceBakos

In my application, i had to do the following things:

import subprocess
import shlex

def init_application():
	subprocess.run(shlex.split("stty -ixon"))
	subprocess.run(shlex.split("stty -ixoff"))
	subprocess.run(shlex.split("stty -isig"))

To enable a couple of essential keyboard events (ctrl+c,ctrl+s).

This information may be useful in https://github.com/bpython/curtsies/blob/master/docs/Input.rst
at "notes".

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions