Add code.rocketnine.space migration notice

This commit is contained in:
Trevor Slocum 2021-03-28 12:07:30 -07:00
parent dfd1991709
commit 864041cc1f
6 changed files with 17 additions and 29 deletions

View File

@ -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 ./...

View File

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

View File

@ -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)
## 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).

View File

@ -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
View File

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

View File

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