replxx
replxx copied to clipboard
How to enable multiline
Hi,
I need help with enabling multiline for user input. I tried to go through the source code to find hints on how to do it, but I couldn't find anything. Could anyone please give me some information on where to start?
Thanks!
Ok, as soon as I posted this, I found a solution for this...
rx.bind_key_internal(Replxx::KEY::shift(Replxx::KEY::F1), "new_line");
However, I have an issue with
rx.bind_key_internal(Replxx::KEY::shift(Replxx::KEY::ENTER), "new_line");
Where it doesn't do a new line in the terminal, but instead commits the entry.