Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Outsource key input to Blessed #82

Open
thomasballinger opened this issue Nov 3, 2015 · 1 comment
Open

Outsource key input to Blessed #82

thomasballinger opened this issue Nov 3, 2015 · 1 comment
Labels

Comments

@thomasballinger
Copy link
Member

Rip out the innards of a curtsies.input.Input object and replace with calls to Blessed.Terminal.inkey()

@thomasballinger
Copy link
Member Author

Potential issues so far:

  • can't set which stdin to use for cbreak (this is probably fine)
  • find out if Blessed does the VDSUSP trick on Macs/BSD (find issue for this, it's been talked about before)
  • find out behavior of inkey if SIGTSTP via dsusp happens (preventable, just turn of dsusp)
  • How to block on stdin and other file descriptors simultaneously (we still have access to sys.stdin)
  • blocked on resolution of Support comparators for matching keyboard input to meta and ctrl keys jquast/blessed#58 which I assume will start grouping escape-prepended keys instead of reporting them separately

Plan: move paste detection into bpython, based on nonblocking readaheads instead of number of raw bytes read

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant