
Security News
ECMAScript 2025 Finalized with Iterator Helpers, Set Methods, RegExp.escape, and More
ECMAScript 2025 introduces Iterator Helpers, Set methods, JSON modules, and more in its latest spec update approved by Ecma in June 2025.
github.com/xplshn/cview-mirror
This package is a fork of tview. See FORK.md for more information.
ssh cview.rocketnine.space -p 20000
Available widgets:
Widgets may be customized and extended to suit any application.
Mouse support is available.
A list of applications powered by cview is available via pkg.go.dev.
go get code.rocketnine.space/tslocum/cview
This basic example creates a TextView titled "Hello, World!" and displays it in your terminal:
package main
import (
"code.rocketnine.space/tslocum/cview"
)
func main() {
app := cview.NewApplication()
tv := cview.NewTextView()
tv.SetBorder(true)
tv.SetTitle("Hello, world!")
tv.SetText("Lorem ipsum dolor sit amet")
app.SetRoot(tv, true)
if err := app.Run(); err != nil {
panic(err)
}
}
Examples are available via godoc and in the demos directory.
For a presentation highlighting the features of this package, compile and run the program in the demos/presentation directory.
Package documentation is available via godoc.
An introduction tutorial is also available.
This package is based on github.com/gdamore/tcell (and its dependencies) and github.com/rivo/uniseg.
CONTRIBUTING.md describes how to share issues, suggestions and patches (pull requests).
FAQs
Unknown package
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
ECMAScript 2025 introduces Iterator Helpers, Set methods, JSON modules, and more in its latest spec update approved by Ecma in June 2025.
Security News
A new Node.js homepage button linking to paid support for EOL versions has sparked a heated discussion among contributors and the wider community.
Research
North Korean threat actors linked to the Contagious Interview campaign return with 35 new malicious npm packages using a stealthy multi-stage malware loader.