holzschu / holzschu/a-shell

Capture input without return

Open
#582 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
Perl
Stars
3.9k
Forks
213
Avg merge
1m
Merged PRs (30d)
1

Description

I'm looking for a way to capture keys without requiring the enter key. An example of this would be the functionality of the [readchar module](https://pypi.org/project/readchar/) which I use on macOS.

However, I haven't been able to find anything that works in a-Shell. They either are not pure python and don't install (like readchar), or fail on execution because they don't understand the terminal or something in the system environment.

Is there a way to do this? I use this functionality to do vi-like scrolling. If I could detect the arrow keys, that would be a workaround.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.