linenoise
linenoise copied to clipboard
Ability to get line content before a newline is sent?
Hi - Is there any way to get line content before a newline is sent?
You could conceivably (ab)use the hints or completions mechanisms, which pass the current buffer each time it is changed.