
Security News
TypeScript is Porting Its Compiler to Go for 10x Faster Builds
TypeScript is porting its compiler to Go, delivering 10x faster builds, lower memory usage, and improved editor performance for a smoother developer experience.
git.sr.ht/~tslocum/cview
Terminal-based user interface toolkit
This package is a fork of tview. See FORK.md for more information.
Try the demo: ssh cview.rocketnine.space -p 20000
Available widgets:
Widgets may be customized and extended to suit any application.
Mouse support is available.
go get git.sr.ht/~tslocum/cview
This basic example creates a box titled "Hello, World!" and displays it in your terminal:
package main
import (
"git.sr.ht/~tslocum/cview"
)
func main() {
box := cview.NewBox().SetBorder(true).SetTitle("Hello, world!")
if err := cview.NewApplication().SetRoot(box, true).Run(); err != nil {
panic(err)
}
}
Examples are available in the "demos" subdirectory.
For a presentation highlighting the features of this package, compile and run the program in the "demos/presentation" subdirectory.
Package documentation is available on godoc.
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).
cview has two mailing lists:
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
TypeScript is porting its compiler to Go, delivering 10x faster builds, lower memory usage, and improved editor performance for a smoother developer experience.
Research
Security News
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
Security News
Socket CEO Feross Aboukhadijeh discusses the open web, open source security, and how Socket tackles software supply chain attacks on The Pair Program podcast.