Registry / utility / tslocum-cbind

tslocum-cbind

JSON →
library0.1.5gogounverified

Provides tcell key event encoding, decoding and handling.

go get code.rocketnine.space/tslocum/cbind
INSTALL
IMPORT
SIG · TSLOCUM-CBIND
T
tslocum-cbind
utilitygov0.1.5
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

cbind
code.rocketnine.space/tslocum/cbind

Creates a key binding configuration for tcell.

package main import ( "fmt" "code.rocketnine.space/tslocum/cbind" ) func main() { config := cbind.NewConfiguration() config.SetKey("Ctrl+C", func(ev *tcell.EventKey) *tcell.EventKey { fmt.Println("Ctrl+C pressed") return ev }) fmt.Println("Configuration created") }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.1.5latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources