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?
Hey, trying to implement
^Winread_lineand 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_eventon line 382 passes inline.to_srather thanline, 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?