rivo
rivo
After eight weeks of developing the new [`TextArea`](https://pkg.go.dev/github.com/rivo/tview#TextArea) widget, I'm finally releasing it into the wild (#759). Please have a look at the [documentation](https://pkg.go.dev/github.com/rivo/tview#TextArea) for details. I should note that...
@diamondburned is right. The horizontal cursor position is preserved, even when the line before/after it is shorter. If the cursor is somewhere on the right and you move it up...
It's just a historical artifact that `tview` uses `Color` more than `Style`. I guess when I started the project, I thought colours would be all people needed. But I was...
@jacques-andre You're setting the text of the table cell too early. When the `selected func` is executed, there is no text yet in the input field. You have to wait...
Sorry, I'm just getting to this now. I'd like to understand better where exactly we have the bottlenecks and why they are there (you mentioned `stringWidth()` - maybe that function...
The top-down implementation was made based on #421 and I have to agree it should be possible to intercept key presses at any level of the widget hierarchy regardless of...
Thanks for this suggestion. I don't see this on my immediate todo list but I'll keep this here for future development.
Hi, glad you like it. I don't have concrete plans for a text area yet. I have been thinking about extending the `TextView` class to make it editable. However, adding...
For your own project, you could probably come up with something simple by using `TextView`, intercepting key events with [`SetInputCapture()`](https://godoc.org/github.com/rivo/tview#Box.SetInputCapture), and using [regions and highlights](https://godoc.org/github.com/rivo/tview#TextView) to simulate a cursor. `TextView`...
Apologies for taking so long but this is really a more complicated issue for which I currently don't seem to have the time. I will definitely add it but cannot...