-
-
Notifications
You must be signed in to change notification settings - Fork 408
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
A way to copy into input fields? #174
Comments
FTXUI uses only one API: reading/writing to stdout/stdin by following the terminal specification. However, on most terminal, pressing ctrl+v should paste the content of the OS's clipboard to stdin, which implement "pasting" correctly. At least it works great on my terminal emulator. Outside of this, support for clipboard is null in FTXUI. In the terminal specification, I see there are some API defined about the clipboard: I am not sure a lot of terminal implement it however. I see microsoft just did it very recently: About right click, FTXUI reports right click. You can try the example "print_key_press". This should display "right" from here:
|
I will, thanks |
Is there any ways to copy content per e.g. ctrl+v or right-click into the input field?
The text was updated successfully, but these errors were encountered: