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

Cant make ^W go #29

Open
doriantaylor opened this issue Nov 9, 2023 · 0 comments
Open

Cant make ^W go #29

doriantaylor opened this issue Nov 9, 2023 · 0 comments

Comments

@doriantaylor
Copy link

Hey, trying to implement ^W in read_line and can't figure out how to do it.

It appears that control characters have been explicitly no-op'd in the ordinary control flow.

When I try to do lower-level manipulations to the console, it gets clobbered by the code near the end of read_line.

Wondering why the trigger_char_event on line 382 passes in line.to_s rather than line, or otherwise doesn't do anything with the return value. Changing either of these would enable arbitrary character events to manipulate the line.

Am I missing something?

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

No branches or pull requests

1 participant