replxx icon indicating copy to clipboard operation
replxx copied to clipboard

How to enable multiline

Open ostorc opened this issue 1 year ago • 1 comments

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!

ostorc avatar Mar 20 '23 15:03 ostorc

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.

ostorc avatar Mar 20 '23 16:03 ostorc