mirror of
https://github.com/rivo/tview.git
synced 2026-04-27 05:45:49 +03:00
[GH-ISSUE #655] Hi ✋ #479
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/tview#479
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @0x41337 on GitHub (Sep 24, 2021).
Original GitHub issue: https://github.com/rivo/tview/issues/655
hello how could i write on the box? I know there is: primitive but I found it a bit complex, I just want to write inside the box, something like:
+-----Box Name-----+
my name: name
+------------------------+
I'm starting to study this lib
@0x41337 commented on GitHub (Sep 24, 2021):
hey, @rivo help
@rivo commented on GitHub (Sep 24, 2021):
@gh-ninja
Boxis just the superclass for all other primitives. In most cases, you don't need to use it directly. (Only if you really just want to display an empty box.)If you want to write something inside the box, use
TextView.Let me know if this helps.
@0x41337 commented on GitHub (Sep 24, 2021):
@rivo ok but how could i use
TextViewto create? Sorry, I'm still learning...@rivo commented on GitHub (Sep 24, 2021):
Check out the
demos/textviewdirectory for examples. You can call theSetText()function to set your text or use theio.Writerinterface to write to it.@0x41337 commented on GitHub (Sep 24, 2021):
Aaaaaa, it worked, thank you so much @rivo you are a best dude
My Code:
Do you have any social networks? like Telegram, so if I have any questions, I'll get in touch with you there, so you don't have to open the issue for a question.
@rivo commented on GitHub (Sep 24, 2021):
It's fine to open issues here. I might not respond right away like today but maybe others can help you, too.
@0x41337 commented on GitHub (Sep 24, 2021):
okay, thanks ! 😁