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

How to enable multiline #144

Open
ostorc opened this issue Mar 20, 2023 · 1 comment
Open

How to enable multiline #144

ostorc opened this issue Mar 20, 2023 · 1 comment

Comments

@ostorc
Copy link

ostorc commented Mar 20, 2023

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
Copy link
Author

ostorc commented Mar 20, 2023

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.

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