mirror of
https://github.com/rivo/tview.git
synced 2026-04-26 13:25:51 +03:00
[GH-ISSUE #10] Cannot run demos/presentation #6
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/tview#6
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 @carlca on GitHub (Jan 11, 2018).
Original GitHub issue: https://github.com/rivo/tview/issues/10
First of all, I have to say this is a cool looking library with some neat code. The demos all work well apart from the one in
demos/presentation. I CDd into the folder and rango run main.gobut i got the response:I expect I have inadvertently missed out an important step. But which one?
@rivo commented on GitHub (Jan 11, 2018):
The presentation code is spread across multiple files.
go run *.goshould do the trick.@carlca commented on GitHub (Jan 11, 2018):
Wow! That was quick! Thanks.
Just one thing now, I seem to be stuck on Page 7 "Text 2" - no key that I can find moves the page forward or back.
@carlca commented on GitHub (Jan 11, 2018):
I obviously didn't try escape. How embarrassing!
@rivo commented on GitHub (Jan 11, 2018):
It's not obvious, I admit. But since the primitives that are shown are interactive and they have their own key bindings, sometimes
Enterhas a different meaning.I actually built in a short cut: Hit
Ctrl-Nto advance to the next slide,Ctrl-Pfor the previous slide.@carlca commented on GitHub (Jan 11, 2018):
Great. Thanks for that. It's a really impressive library. I've tried a few CLI tools with Golang but this one looks easier to use, with a nice fluent approach, and your color choices are good!
@lhanson commented on GitHub (Sep 21, 2019):
Maybe a Readme could be added to the
demossubdirectory pointing out the convention of running*.go? I ran into the same issue. Maybe it's only an issue for people new to Go, but as a person relatively new to Go looking to use this library, it did introduce a tiny amount of friction.