how can we have an input with multiline? #306
-
Hello , |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
I'm interested in this too and am currently researching how to do it. My current best bet is to use a simple terminal editor and re-work it into a bubbletea component. A good candidate could be: https://github.com/hibiken/mini/blob/master/mini.go The idea is, to switch into editor mode, and return to the application GUI after editing. Maybe it's possible to render the editor to a fixed area while still seeing the rest of the application. |
Beta Was this translation helpful? Give feedback.
-
I know it's been quite a while, and I hope you've found your answer. For anyone still looking, the companion package Bubbles has many components which work well with Bubbletea. In this case, take a look at their text area component. |
Beta Was this translation helpful? Give feedback.
I know it's been quite a while, and I hope you've found your answer. For anyone still looking, the companion package Bubbles has many components which work well with Bubbletea. In this case, take a look at their text area component.