Browse Source

Add code.rocketnine.space migration notice

master
Trevor Slocum 1 year ago
parent
commit
864041cc1f
  1. 21
      .gitlab-ci.yml
  2. 3
      CHANGELOG
  3. 16
      README.md
  4. 2
      configuration.go
  5. 2
      go.mod
  6. 2
      whichkeybind/main.go

21
.gitlab-ci.yml

@ -1,21 +0,0 @@ @@ -1,21 +0,0 @@
image: golang:latest
stages:
- validate
- build
fmt:
stage: validate
script:
- gofmt -l -s -e .
- exit $(gofmt -l -s -e . | wc -l)
vet:
stage: validate
script:
- go vet -composites=false ./...
test:
stage: validate
script:
- go test -race -v ./...

3
CHANGELOG

@ -1,3 +1,6 @@ @@ -1,3 +1,6 @@
0.1.5:
- Update docs
0.1.4:
- Add UnifyEnterKeys option to interpret KPEnter as Enter (enabled by default)

16
README.md

@ -1,6 +1,12 @@ @@ -1,6 +1,12 @@
!!! cbind has moved to [code.rocketnine.space](https://code.rocketnine.space/tslocum/cbind) !!!
====
Please visit https://code.rocketnine.space/tslocum/cbind
------------
# cbind
[![GoDoc](https://gitlab.com/tslocum/godoc-static/-/raw/master/badge.svg)](https://docs.rocketnine.space/gitlab.com/tslocum/cbind)
[![CI status](https://gitlab.com/tslocum/cbind/badges/master/pipeline.svg)](https://gitlab.com/tslocum/cbind/commits/master)
[![GoDoc](https://code.rocketnine.space/tslocum/godoc-static/raw/branch/master/badge.svg)](https://docs.rocketnine.space/code.rocketnine.space/tslocum/cbind)
[![Donate](https://img.shields.io/liberapay/receives/rocketnine.space.svg?logo=liberapay)](https://liberapay.com/rocketnine.space)
Key event handling library for tcell
@ -50,14 +56,14 @@ app.SetInputCapture(c.Capture) @@ -50,14 +56,14 @@ app.SetInputCapture(c.Capture)
## Documentation
Documentation is available via [gdooc](https://docs.rocketnine.space/gitlab.com/tslocum/cbind).
Documentation is available via [gdooc](https://docs.rocketnine.space/code.rocketnine.space/tslocum/cbind).
The utility program `whichkeybind` is available to determine and validate key combinations.
```bash
go get gitlab.com/tslocum/cbind/whichkeybind
go get code.rocketnine.space/tslocum/cbind/whichkeybind
```
## Support
Please share issues and suggestions [here](https://gitlab.com/tslocum/cbind/issues).
Please share issues and suggestions [here](https://code.rocketnine.space/tslocum/cbind/issues).

2
configuration.go

@ -10,7 +10,7 @@ import ( @@ -10,7 +10,7 @@ import (
type eventHandler func(ev *tcell.EventKey) *tcell.EventKey
// Configuration processes key events by mapping keys to event handlers.
// Configuration maps keys to event handlers and processes key events.
type Configuration struct {
handlers map[string]eventHandler
mutex *sync.RWMutex

2
go.mod

@ -1,4 +1,4 @@ @@ -1,4 +1,4 @@
module gitlab.com/tslocum/cbind
module code.rocketnine.space/tslocum/cbind
go 1.15

2
whichkeybind/main.go

@ -5,7 +5,7 @@ import ( @@ -5,7 +5,7 @@ import (
"os"
"github.com/gdamore/tcell/v2"
"gitlab.com/tslocum/cbind"
"code.rocketnine.space/tslocum/cbind"
)
func main() {

Loading…
Cancel
Save