You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi there!
I'm building chat TUI app where I have textarea as text input.
I'm stuck with 2 issues right now:
I can't distinguish line breaks in the message from tea.KeyEnter. For example when multiline text is pasted from clipboard to textarea. Is it possible somehow pre process text form textarea to remove line breaks so that tea.KeyEnter will be not triggered in Update?
I cant find key combination of shift + enter for the line break while entering text inside textarea. I'm using tab right now for that. Using keypress as string "shift+enter" doesn't work.
Hi! #397 is in the process of being merged, however we don't have an ETA yet. A proper bracketed paste solution is nuanced and will require additional work beyond the PR.
Hi there!
I'm building chat TUI app where I have textarea as text input.
I'm stuck with 2 issues right now:
I can't distinguish line breaks in the message from tea.KeyEnter. For example when multiline text is pasted from clipboard to textarea. Is it possible somehow pre process text form textarea to remove line breaks so that tea.KeyEnter will be not triggered in Update?
I cant find key combination of shift + enter for the line break while entering text inside textarea. I'm using tab right now for that. Using keypress as string "shift+enter" doesn't work.
I can go with multiline route
But then still need a key to send a message like shift+enter or ctrl+enter
Please point me in the right direction if there is any. Thanks!
The text was updated successfully, but these errors were encountered: