diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index c5087360..bc7def39 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -26,7 +26,7 @@ jobs: run: go build -v . - name: Test - run: go test -coverpkg="github.com/gdamore/tcell/v2/..." -covermode=count -coverprofile="coverage.txt" ./... + run: go test -coverpkg="github.com/micro-editor/tcell/v2/..." -covermode=count -coverprofile="coverage.txt" ./... - name: Upload coverage to Codecov uses: codecov/codecov-action@v4.0.1 diff --git a/CHANGESv2.md b/CHANGESv2.md index ad97c11b..2830efa9 100644 --- a/CHANGESv2.md +++ b/CHANGESv2.md @@ -4,7 +4,7 @@ A number of changes were made to _Tcell_ for version two, and some of these are ### Import Path -The import path for tcell has changed to `github.com/gdamore/tcell/v2` to reflect a new major version. +The import path for tcell has changed to `github.com/micro-editor/tcell/v2` to reflect a new major version. ### Style Is Not Numeric diff --git a/README.md b/README.md index 37c7dea3..560553ee 100644 --- a/README.md +++ b/README.md @@ -9,10 +9,10 @@ It was inspired by _termbox_, but includes many additional improvements. [![Linux](https://img.shields.io/github/actions/workflow/status/gdamore/tcell/linux.yml?branch=main&logoColor=grey&logo=linux&label=)](https://github.com/gdamore/tcell/actions/workflows/linux.yml) [![Windows](https://img.shields.io/github/actions/workflow/status/gdamore/tcell/windows.yml?branch=main&logoColor=grey&logo=windows&label=)](https://github.com/gdamore/tcell/actions/workflows/windows.yml) [![Apache License](https://img.shields.io/github/license/gdamore/tcell.svg?logoColor=silver&logo=opensourceinitiative&color=blue&label=)](https://github.com/gdamore/tcell/blob/master/LICENSE) -[![Docs](https://img.shields.io/badge/godoc-reference-blue.svg?label=&logo=go)](https://pkg.go.dev/github.com/gdamore/tcell/v2) +[![Docs](https://img.shields.io/badge/godoc-reference-blue.svg?label=&logo=go)](https://pkg.go.dev/github.com/micro-editor/tcell/v2) [![Discord](https://img.shields.io/discord/639503822733180969?label=&logo=discord)](https://discord.gg/urTTxDN) [![Coverage](https://img.shields.io/codecov/c/github/gdamore/tcell?logoColor=grey&logo=codecov&label=)](https://codecov.io/gh/gdamore/tcell) -[![Go Report Card](https://goreportcard.com/badge/github.com/gdamore/tcell/v2)](https://goreportcard.com/report/github.com/gdamore/tcell/v2) +[![Go Report Card](https://goreportcard.com/badge/github.com/micro-editor/tcell/v2)](https://goreportcard.com/report/github.com/micro-editor/tcell/v2) Please see [here](UKRAINE.md) for an important message for the people of Russia. diff --git a/TUTORIAL.md b/TUTORIAL.md index f52fcff0..237dbd58 100644 --- a/TUTORIAL.md +++ b/TUTORIAL.md @@ -172,7 +172,7 @@ import ( "fmt" "log" - "github.com/gdamore/tcell/v2" + "github.com/micro-editor/tcell/v2" ) func drawText(s tcell.Screen, x1, y1, x2, y2 int, style tcell.Style, text string) { diff --git a/_demos/beep.go b/_demos/beep.go index 658c56e9..4fabc2e9 100644 --- a/_demos/beep.go +++ b/_demos/beep.go @@ -23,7 +23,7 @@ import ( "os" "time" - "github.com/gdamore/tcell/v2" + "github.com/micro-editor/tcell/v2" ) func main() { diff --git a/_demos/boxes.go b/_demos/boxes.go index a8891569..61fac2c8 100644 --- a/_demos/boxes.go +++ b/_demos/boxes.go @@ -25,7 +25,7 @@ import ( "os" "time" - "github.com/gdamore/tcell/v2" + "github.com/micro-editor/tcell/v2" ) func makebox(s tcell.Screen) { diff --git a/_demos/colors.go b/_demos/colors.go index e1c821b1..2116bb9a 100644 --- a/_demos/colors.go +++ b/_demos/colors.go @@ -29,7 +29,7 @@ import ( "os" "time" - "github.com/gdamore/tcell/v2" + "github.com/micro-editor/tcell/v2" ) var red = int32(rand.Int() % 256) diff --git a/_demos/cursors.go b/_demos/cursors.go index 2904d34b..0c9c3a11 100644 --- a/_demos/cursors.go +++ b/_demos/cursors.go @@ -20,7 +20,7 @@ package main import ( "fmt" - "github.com/gdamore/tcell/v2" + "github.com/micro-editor/tcell/v2" "os" ) diff --git a/_demos/hello_world.go b/_demos/hello_world.go index fc8d5e91..23ab749c 100644 --- a/_demos/hello_world.go +++ b/_demos/hello_world.go @@ -21,8 +21,8 @@ import ( "fmt" "os" - "github.com/gdamore/tcell/v2" - "github.com/gdamore/tcell/v2/encoding" + "github.com/micro-editor/tcell/v2" + "github.com/micro-editor/tcell/v2/encoding" "github.com/mattn/go-runewidth" ) diff --git a/_demos/hyperlink.go b/_demos/hyperlink.go index 1f2f9e34..934e4f2b 100644 --- a/_demos/hyperlink.go +++ b/_demos/hyperlink.go @@ -21,8 +21,8 @@ import ( "fmt" "os" - "github.com/gdamore/tcell/v2" - "github.com/gdamore/tcell/v2/encoding" + "github.com/micro-editor/tcell/v2" + "github.com/micro-editor/tcell/v2/encoding" "github.com/mattn/go-runewidth" ) diff --git a/_demos/mouse.go b/_demos/mouse.go index e31503be..859930df 100644 --- a/_demos/mouse.go +++ b/_demos/mouse.go @@ -26,8 +26,8 @@ import ( "os/exec" "runtime" - "github.com/gdamore/tcell/v2" - "github.com/gdamore/tcell/v2/encoding" + "github.com/micro-editor/tcell/v2" + "github.com/micro-editor/tcell/v2/encoding" "github.com/mattn/go-runewidth" ) diff --git a/_demos/setsize.go b/_demos/setsize.go index 0ae16d5d..253707f2 100644 --- a/_demos/setsize.go +++ b/_demos/setsize.go @@ -21,8 +21,8 @@ import ( "fmt" "os" - "github.com/gdamore/tcell/v2" - "github.com/gdamore/tcell/v2/encoding" + "github.com/micro-editor/tcell/v2" + "github.com/micro-editor/tcell/v2/encoding" "github.com/mattn/go-runewidth" ) diff --git a/_demos/sixel.go b/_demos/sixel.go index 3a7c2762..fc584f40 100644 --- a/_demos/sixel.go +++ b/_demos/sixel.go @@ -27,8 +27,8 @@ import ( "math" "os" - "github.com/gdamore/tcell/v2" - "github.com/gdamore/tcell/v2/encoding" + "github.com/micro-editor/tcell/v2" + "github.com/micro-editor/tcell/v2/encoding" "github.com/mattn/go-runewidth" "github.com/mattn/go-sixel" diff --git a/_demos/stress.go b/_demos/stress.go index fb813fed..83a0073e 100644 --- a/_demos/stress.go +++ b/_demos/stress.go @@ -25,7 +25,7 @@ import ( "math/rand" "time" - "github.com/gdamore/tcell/v2" + "github.com/micro-editor/tcell/v2" ) func main() { diff --git a/_demos/unicode.go b/_demos/unicode.go index 246459df..72543b72 100644 --- a/_demos/unicode.go +++ b/_demos/unicode.go @@ -23,8 +23,8 @@ import ( "fmt" "os" - "github.com/gdamore/tcell/v2" - "github.com/gdamore/tcell/v2/encoding" + "github.com/micro-editor/tcell/v2" + "github.com/micro-editor/tcell/v2/encoding" runewidth "github.com/mattn/go-runewidth" ) diff --git a/encoding/all.go b/encoding/all.go index 45c4cd53..ba165ed0 100644 --- a/encoding/all.go +++ b/encoding/all.go @@ -21,7 +21,7 @@ package encoding import ( "github.com/gdamore/encoding" - "github.com/gdamore/tcell/v2" + "github.com/micro-editor/tcell/v2" "golang.org/x/text/encoding/charmap" "golang.org/x/text/encoding/japanese" diff --git a/encoding/encoding_init_test.go b/encoding/encoding_init_test.go index 6df58ee7..ac7b4e4a 100644 --- a/encoding/encoding_init_test.go +++ b/encoding/encoding_init_test.go @@ -16,7 +16,7 @@ package encoding import ( "testing" - "github.com/gdamore/tcell/v2" + "github.com/micro-editor/tcell/v2" ) func TestGBK(t *testing.T) { diff --git a/errors.go b/errors.go index 201dff9f..f87e9155 100644 --- a/errors.go +++ b/errors.go @@ -18,7 +18,7 @@ import ( "errors" "time" - "github.com/gdamore/tcell/v2/terminfo" + "github.com/micro-editor/tcell/v2/terminfo" ) var ( diff --git a/go.mod b/go.mod index f3496c6f..165b0708 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/gdamore/tcell/v2 +module github.com/micro-editor/tcell/v2 go 1.12 diff --git a/termbox/compat.go b/termbox/compat.go index b848a4b1..9534435e 100644 --- a/termbox/compat.go +++ b/termbox/compat.go @@ -19,7 +19,7 @@ package termbox import ( "errors" - "github.com/gdamore/tcell/v2" + "github.com/micro-editor/tcell/v2" ) var screen tcell.Screen diff --git a/terminfo/a/aixterm/term.go b/terminfo/a/aixterm/term.go index 503c9199..8c6315bd 100644 --- a/terminfo/a/aixterm/term.go +++ b/terminfo/a/aixterm/term.go @@ -2,7 +2,7 @@ package aixterm -import "github.com/gdamore/tcell/v2/terminfo" +import "github.com/micro-editor/tcell/v2/terminfo" func init() { diff --git a/terminfo/a/alacritty/direct.go b/terminfo/a/alacritty/direct.go index db6351af..61b5973a 100644 --- a/terminfo/a/alacritty/direct.go +++ b/terminfo/a/alacritty/direct.go @@ -2,7 +2,7 @@ package alacritty -import "github.com/gdamore/tcell/v2/terminfo" +import "github.com/micro-editor/tcell/v2/terminfo" func init() { diff --git a/terminfo/a/alacritty/term.go b/terminfo/a/alacritty/term.go index 01013637..6d0aacbf 100644 --- a/terminfo/a/alacritty/term.go +++ b/terminfo/a/alacritty/term.go @@ -2,7 +2,7 @@ package alacritty -import "github.com/gdamore/tcell/v2/terminfo" +import "github.com/micro-editor/tcell/v2/terminfo" func init() { diff --git a/terminfo/a/ansi/term.go b/terminfo/a/ansi/term.go index 5c572fd4..eeca173c 100644 --- a/terminfo/a/ansi/term.go +++ b/terminfo/a/ansi/term.go @@ -2,7 +2,7 @@ package ansi -import "github.com/gdamore/tcell/v2/terminfo" +import "github.com/micro-editor/tcell/v2/terminfo" func init() { diff --git a/terminfo/b/beterm/term.go b/terminfo/b/beterm/term.go index e6d88838..077262e3 100644 --- a/terminfo/b/beterm/term.go +++ b/terminfo/b/beterm/term.go @@ -2,7 +2,7 @@ package beterm -import "github.com/gdamore/tcell/v2/terminfo" +import "github.com/micro-editor/tcell/v2/terminfo" func init() { diff --git a/terminfo/base/base.go b/terminfo/base/base.go index fbecdfa9..9782d484 100644 --- a/terminfo/base/base.go +++ b/terminfo/base/base.go @@ -24,9 +24,9 @@ package base import ( // The following imports just register themselves -- // thse are the terminal types we aggregate in this package. - _ "github.com/gdamore/tcell/v2/terminfo/a/ansi" - _ "github.com/gdamore/tcell/v2/terminfo/v/vt100" - _ "github.com/gdamore/tcell/v2/terminfo/v/vt102" - _ "github.com/gdamore/tcell/v2/terminfo/v/vt220" - _ "github.com/gdamore/tcell/v2/terminfo/x/xterm" + _ "github.com/micro-editor/tcell/v2/terminfo/a/ansi" + _ "github.com/micro-editor/tcell/v2/terminfo/v/vt100" + _ "github.com/micro-editor/tcell/v2/terminfo/v/vt102" + _ "github.com/micro-editor/tcell/v2/terminfo/v/vt220" + _ "github.com/micro-editor/tcell/v2/terminfo/x/xterm" ) diff --git a/terminfo/c/cygwin/term.go b/terminfo/c/cygwin/term.go index 46a0a4a3..f01e4dba 100644 --- a/terminfo/c/cygwin/term.go +++ b/terminfo/c/cygwin/term.go @@ -2,7 +2,7 @@ package cygwin -import "github.com/gdamore/tcell/v2/terminfo" +import "github.com/micro-editor/tcell/v2/terminfo" func init() { diff --git a/terminfo/d/dtterm/term.go b/terminfo/d/dtterm/term.go index 90a5fedf..f2594a8d 100644 --- a/terminfo/d/dtterm/term.go +++ b/terminfo/d/dtterm/term.go @@ -2,7 +2,7 @@ package dtterm -import "github.com/gdamore/tcell/v2/terminfo" +import "github.com/micro-editor/tcell/v2/terminfo" func init() { diff --git a/terminfo/dynamic/dynamic.go b/terminfo/dynamic/dynamic.go index 047ebded..1e3d198d 100644 --- a/terminfo/dynamic/dynamic.go +++ b/terminfo/dynamic/dynamic.go @@ -29,7 +29,7 @@ import ( "strconv" "strings" - "github.com/gdamore/tcell/v2/terminfo" + "github.com/micro-editor/tcell/v2/terminfo" ) type termcap struct { diff --git a/terminfo/e/emacs/term.go b/terminfo/e/emacs/term.go index f6d078d0..9eef853a 100644 --- a/terminfo/e/emacs/term.go +++ b/terminfo/e/emacs/term.go @@ -2,7 +2,7 @@ package emacs -import "github.com/gdamore/tcell/v2/terminfo" +import "github.com/micro-editor/tcell/v2/terminfo" func init() { diff --git a/terminfo/extended/extended.go b/terminfo/extended/extended.go index 7459cf32..50c72f76 100644 --- a/terminfo/extended/extended.go +++ b/terminfo/extended/extended.go @@ -21,36 +21,36 @@ package extended import ( // The following imports just register themselves -- // these are the terminal types we aggregate in this package. - _ "github.com/gdamore/tcell/v2/terminfo/a/aixterm" - _ "github.com/gdamore/tcell/v2/terminfo/a/alacritty" - _ "github.com/gdamore/tcell/v2/terminfo/a/ansi" - _ "github.com/gdamore/tcell/v2/terminfo/b/beterm" - _ "github.com/gdamore/tcell/v2/terminfo/c/cygwin" - _ "github.com/gdamore/tcell/v2/terminfo/d/dtterm" - _ "github.com/gdamore/tcell/v2/terminfo/e/emacs" - _ "github.com/gdamore/tcell/v2/terminfo/f/foot" - _ "github.com/gdamore/tcell/v2/terminfo/g/gnome" - _ "github.com/gdamore/tcell/v2/terminfo/h/hpterm" - _ "github.com/gdamore/tcell/v2/terminfo/k/konsole" - _ "github.com/gdamore/tcell/v2/terminfo/k/kterm" - _ "github.com/gdamore/tcell/v2/terminfo/l/linux" - _ "github.com/gdamore/tcell/v2/terminfo/p/pcansi" - _ "github.com/gdamore/tcell/v2/terminfo/r/rxvt" - _ "github.com/gdamore/tcell/v2/terminfo/s/screen" - _ "github.com/gdamore/tcell/v2/terminfo/s/simpleterm" - _ "github.com/gdamore/tcell/v2/terminfo/s/sun" - _ "github.com/gdamore/tcell/v2/terminfo/t/tmux" - _ "github.com/gdamore/tcell/v2/terminfo/v/vt100" - _ "github.com/gdamore/tcell/v2/terminfo/v/vt102" - _ "github.com/gdamore/tcell/v2/terminfo/v/vt220" - _ "github.com/gdamore/tcell/v2/terminfo/v/vt320" - _ "github.com/gdamore/tcell/v2/terminfo/v/vt400" - _ "github.com/gdamore/tcell/v2/terminfo/v/vt420" - _ "github.com/gdamore/tcell/v2/terminfo/v/vt52" - _ "github.com/gdamore/tcell/v2/terminfo/w/wy50" - _ "github.com/gdamore/tcell/v2/terminfo/w/wy60" - _ "github.com/gdamore/tcell/v2/terminfo/w/wy99_ansi" - _ "github.com/gdamore/tcell/v2/terminfo/x/xfce" - _ "github.com/gdamore/tcell/v2/terminfo/x/xterm" - _ "github.com/gdamore/tcell/v2/terminfo/x/xterm_kitty" + _ "github.com/micro-editor/tcell/v2/terminfo/a/aixterm" + _ "github.com/micro-editor/tcell/v2/terminfo/a/alacritty" + _ "github.com/micro-editor/tcell/v2/terminfo/a/ansi" + _ "github.com/micro-editor/tcell/v2/terminfo/b/beterm" + _ "github.com/micro-editor/tcell/v2/terminfo/c/cygwin" + _ "github.com/micro-editor/tcell/v2/terminfo/d/dtterm" + _ "github.com/micro-editor/tcell/v2/terminfo/e/emacs" + _ "github.com/micro-editor/tcell/v2/terminfo/f/foot" + _ "github.com/micro-editor/tcell/v2/terminfo/g/gnome" + _ "github.com/micro-editor/tcell/v2/terminfo/h/hpterm" + _ "github.com/micro-editor/tcell/v2/terminfo/k/konsole" + _ "github.com/micro-editor/tcell/v2/terminfo/k/kterm" + _ "github.com/micro-editor/tcell/v2/terminfo/l/linux" + _ "github.com/micro-editor/tcell/v2/terminfo/p/pcansi" + _ "github.com/micro-editor/tcell/v2/terminfo/r/rxvt" + _ "github.com/micro-editor/tcell/v2/terminfo/s/screen" + _ "github.com/micro-editor/tcell/v2/terminfo/s/simpleterm" + _ "github.com/micro-editor/tcell/v2/terminfo/s/sun" + _ "github.com/micro-editor/tcell/v2/terminfo/t/tmux" + _ "github.com/micro-editor/tcell/v2/terminfo/v/vt100" + _ "github.com/micro-editor/tcell/v2/terminfo/v/vt102" + _ "github.com/micro-editor/tcell/v2/terminfo/v/vt220" + _ "github.com/micro-editor/tcell/v2/terminfo/v/vt320" + _ "github.com/micro-editor/tcell/v2/terminfo/v/vt400" + _ "github.com/micro-editor/tcell/v2/terminfo/v/vt420" + _ "github.com/micro-editor/tcell/v2/terminfo/v/vt52" + _ "github.com/micro-editor/tcell/v2/terminfo/w/wy50" + _ "github.com/micro-editor/tcell/v2/terminfo/w/wy60" + _ "github.com/micro-editor/tcell/v2/terminfo/w/wy99_ansi" + _ "github.com/micro-editor/tcell/v2/terminfo/x/xfce" + _ "github.com/micro-editor/tcell/v2/terminfo/x/xterm" + _ "github.com/micro-editor/tcell/v2/terminfo/x/xterm_kitty" ) diff --git a/terminfo/f/foot/foot.go b/terminfo/f/foot/foot.go index 5daa3c8a..9d5072c0 100644 --- a/terminfo/f/foot/foot.go +++ b/terminfo/f/foot/foot.go @@ -2,7 +2,7 @@ package foot -import "github.com/gdamore/tcell/v2/terminfo" +import "github.com/micro-editor/tcell/v2/terminfo" func init() { diff --git a/terminfo/g/gnome/term.go b/terminfo/g/gnome/term.go index a7af10c4..1607dfc3 100644 --- a/terminfo/g/gnome/term.go +++ b/terminfo/g/gnome/term.go @@ -2,7 +2,7 @@ package gnome -import "github.com/gdamore/tcell/v2/terminfo" +import "github.com/micro-editor/tcell/v2/terminfo" func init() { diff --git a/terminfo/h/hpterm/term.go b/terminfo/h/hpterm/term.go index 56a0fb73..68ffecc3 100644 --- a/terminfo/h/hpterm/term.go +++ b/terminfo/h/hpterm/term.go @@ -2,7 +2,7 @@ package hpterm -import "github.com/gdamore/tcell/v2/terminfo" +import "github.com/micro-editor/tcell/v2/terminfo" func init() { diff --git a/terminfo/k/konsole/term.go b/terminfo/k/konsole/term.go index c32de963..b5b737da 100644 --- a/terminfo/k/konsole/term.go +++ b/terminfo/k/konsole/term.go @@ -2,7 +2,7 @@ package konsole -import "github.com/gdamore/tcell/v2/terminfo" +import "github.com/micro-editor/tcell/v2/terminfo" func init() { diff --git a/terminfo/k/kterm/term.go b/terminfo/k/kterm/term.go index 34306809..8172331c 100644 --- a/terminfo/k/kterm/term.go +++ b/terminfo/k/kterm/term.go @@ -2,7 +2,7 @@ package kterm -import "github.com/gdamore/tcell/v2/terminfo" +import "github.com/micro-editor/tcell/v2/terminfo" func init() { diff --git a/terminfo/l/linux/term.go b/terminfo/l/linux/term.go index 8975bb38..47881609 100644 --- a/terminfo/l/linux/term.go +++ b/terminfo/l/linux/term.go @@ -2,7 +2,7 @@ package linux -import "github.com/gdamore/tcell/v2/terminfo" +import "github.com/micro-editor/tcell/v2/terminfo" func init() { diff --git a/terminfo/mkinfo.go b/terminfo/mkinfo.go index 9f84acbf..f04e6ba2 100644 --- a/terminfo/mkinfo.go +++ b/terminfo/mkinfo.go @@ -26,7 +26,7 @@ // -go specifies Go output into the named file. Use - for stdout. // -nofatal indicates that errors loading definitions should not be fatal // -P pkg use the supplied package name -// -I import use the named import instead of github.com/gdamore/tcell/v2/terminfo +// -I import use the named import instead of github.com/micro-editor/tcell/v2/terminfo // package main @@ -43,7 +43,7 @@ import ( "strconv" "strings" - "github.com/gdamore/tcell/v2/terminfo" + "github.com/micro-editor/tcell/v2/terminfo" ) type termcap struct { @@ -627,7 +627,7 @@ func dotGoInfo(w io.Writer, terms []*TData) { } var packname = "" -var tipackname = "github.com/gdamore/tcell/v2/terminfo" +var tipackname = "github.com/micro-editor/tcell/v2/terminfo" func dotGoFile(fname string, terms []*TData) error { w := os.Stdout diff --git a/terminfo/p/pcansi/term.go b/terminfo/p/pcansi/term.go index aadc8719..e1c27080 100644 --- a/terminfo/p/pcansi/term.go +++ b/terminfo/p/pcansi/term.go @@ -2,7 +2,7 @@ package pcansi -import "github.com/gdamore/tcell/v2/terminfo" +import "github.com/micro-editor/tcell/v2/terminfo" func init() { diff --git a/terminfo/r/rxvt/term.go b/terminfo/r/rxvt/term.go index 94169e79..2d779a7d 100644 --- a/terminfo/r/rxvt/term.go +++ b/terminfo/r/rxvt/term.go @@ -2,7 +2,7 @@ package rxvt -import "github.com/gdamore/tcell/v2/terminfo" +import "github.com/micro-editor/tcell/v2/terminfo" func init() { diff --git a/terminfo/s/screen/term.go b/terminfo/s/screen/term.go index b8595295..928ed313 100644 --- a/terminfo/s/screen/term.go +++ b/terminfo/s/screen/term.go @@ -2,7 +2,7 @@ package screen -import "github.com/gdamore/tcell/v2/terminfo" +import "github.com/micro-editor/tcell/v2/terminfo" func init() { diff --git a/terminfo/s/simpleterm/term.go b/terminfo/s/simpleterm/term.go index e14b265a..0b2ff34d 100644 --- a/terminfo/s/simpleterm/term.go +++ b/terminfo/s/simpleterm/term.go @@ -2,7 +2,7 @@ package simpleterm -import "github.com/gdamore/tcell/v2/terminfo" +import "github.com/micro-editor/tcell/v2/terminfo" func init() { diff --git a/terminfo/s/sun/term.go b/terminfo/s/sun/term.go index 16cb96c2..b07eb200 100644 --- a/terminfo/s/sun/term.go +++ b/terminfo/s/sun/term.go @@ -20,7 +20,7 @@ package sun -import "github.com/gdamore/tcell/v2/terminfo" +import "github.com/micro-editor/tcell/v2/terminfo" func init() { diff --git a/terminfo/t/tmux/term.go b/terminfo/t/tmux/term.go index 5ecac38e..f00f141d 100644 --- a/terminfo/t/tmux/term.go +++ b/terminfo/t/tmux/term.go @@ -2,7 +2,7 @@ package tmux -import "github.com/gdamore/tcell/v2/terminfo" +import "github.com/micro-editor/tcell/v2/terminfo" func init() { diff --git a/terminfo/v/vt100/term.go b/terminfo/v/vt100/term.go index 2bad42e9..bebe7e86 100644 --- a/terminfo/v/vt100/term.go +++ b/terminfo/v/vt100/term.go @@ -2,7 +2,7 @@ package vt100 -import "github.com/gdamore/tcell/v2/terminfo" +import "github.com/micro-editor/tcell/v2/terminfo" func init() { diff --git a/terminfo/v/vt102/term.go b/terminfo/v/vt102/term.go index 1269b5b7..54702f84 100644 --- a/terminfo/v/vt102/term.go +++ b/terminfo/v/vt102/term.go @@ -2,7 +2,7 @@ package vt102 -import "github.com/gdamore/tcell/v2/terminfo" +import "github.com/micro-editor/tcell/v2/terminfo" func init() { diff --git a/terminfo/v/vt220/term.go b/terminfo/v/vt220/term.go index a637677a..52762d98 100644 --- a/terminfo/v/vt220/term.go +++ b/terminfo/v/vt220/term.go @@ -2,7 +2,7 @@ package vt220 -import "github.com/gdamore/tcell/v2/terminfo" +import "github.com/micro-editor/tcell/v2/terminfo" func init() { diff --git a/terminfo/v/vt320/term.go b/terminfo/v/vt320/term.go index e929ed45..c01fc375 100644 --- a/terminfo/v/vt320/term.go +++ b/terminfo/v/vt320/term.go @@ -2,7 +2,7 @@ package vt320 -import "github.com/gdamore/tcell/v2/terminfo" +import "github.com/micro-editor/tcell/v2/terminfo" func init() { diff --git a/terminfo/v/vt400/term.go b/terminfo/v/vt400/term.go index 05406563..8f64ee05 100644 --- a/terminfo/v/vt400/term.go +++ b/terminfo/v/vt400/term.go @@ -2,7 +2,7 @@ package vt400 -import "github.com/gdamore/tcell/v2/terminfo" +import "github.com/micro-editor/tcell/v2/terminfo" func init() { diff --git a/terminfo/v/vt420/term.go b/terminfo/v/vt420/term.go index 4c56f1e5..804a5f7c 100644 --- a/terminfo/v/vt420/term.go +++ b/terminfo/v/vt420/term.go @@ -2,7 +2,7 @@ package vt420 -import "github.com/gdamore/tcell/v2/terminfo" +import "github.com/micro-editor/tcell/v2/terminfo" func init() { diff --git a/terminfo/v/vt52/term.go b/terminfo/v/vt52/term.go index 5d193ed7..e78fe33e 100644 --- a/terminfo/v/vt52/term.go +++ b/terminfo/v/vt52/term.go @@ -2,7 +2,7 @@ package vt52 -import "github.com/gdamore/tcell/v2/terminfo" +import "github.com/micro-editor/tcell/v2/terminfo" func init() { diff --git a/terminfo/w/wy50/term.go b/terminfo/w/wy50/term.go index beced62d..a59eb326 100644 --- a/terminfo/w/wy50/term.go +++ b/terminfo/w/wy50/term.go @@ -2,7 +2,7 @@ package wy50 -import "github.com/gdamore/tcell/v2/terminfo" +import "github.com/micro-editor/tcell/v2/terminfo" func init() { diff --git a/terminfo/w/wy60/term.go b/terminfo/w/wy60/term.go index 27705f20..904ffd2c 100644 --- a/terminfo/w/wy60/term.go +++ b/terminfo/w/wy60/term.go @@ -2,7 +2,7 @@ package wy60 -import "github.com/gdamore/tcell/v2/terminfo" +import "github.com/micro-editor/tcell/v2/terminfo" func init() { diff --git a/terminfo/w/wy99_ansi/term.go b/terminfo/w/wy99_ansi/term.go index 9b5cd7e7..505c56af 100644 --- a/terminfo/w/wy99_ansi/term.go +++ b/terminfo/w/wy99_ansi/term.go @@ -2,7 +2,7 @@ package wy99_ansi -import "github.com/gdamore/tcell/v2/terminfo" +import "github.com/micro-editor/tcell/v2/terminfo" func init() { diff --git a/terminfo/x/xfce/term.go b/terminfo/x/xfce/term.go index 4f7e825e..c01a875a 100644 --- a/terminfo/x/xfce/term.go +++ b/terminfo/x/xfce/term.go @@ -2,7 +2,7 @@ package xfce -import "github.com/gdamore/tcell/v2/terminfo" +import "github.com/micro-editor/tcell/v2/terminfo" func init() { diff --git a/terminfo/x/xterm/direct.go b/terminfo/x/xterm/direct.go index 358ebae9..394f9083 100644 --- a/terminfo/x/xterm/direct.go +++ b/terminfo/x/xterm/direct.go @@ -20,7 +20,7 @@ package xterm -import "github.com/gdamore/tcell/v2/terminfo" +import "github.com/micro-editor/tcell/v2/terminfo" func init() { diff --git a/terminfo/x/xterm/term.go b/terminfo/x/xterm/term.go index fb9c7589..401e9da1 100644 --- a/terminfo/x/xterm/term.go +++ b/terminfo/x/xterm/term.go @@ -2,7 +2,7 @@ package xterm -import "github.com/gdamore/tcell/v2/terminfo" +import "github.com/micro-editor/tcell/v2/terminfo" func init() { diff --git a/terminfo/x/xterm_kitty/term.go b/terminfo/x/xterm_kitty/term.go index ac815a11..b5e9a96c 100644 --- a/terminfo/x/xterm_kitty/term.go +++ b/terminfo/x/xterm_kitty/term.go @@ -2,7 +2,7 @@ package xterm_kitty -import "github.com/gdamore/tcell/v2/terminfo" +import "github.com/micro-editor/tcell/v2/terminfo" func init() { diff --git a/terms_default.go b/terms_default.go index fefcf893..f64f24fb 100644 --- a/terms_default.go +++ b/terms_default.go @@ -20,5 +20,5 @@ package tcell import ( // This imports the default terminal entries. To disable, use the // tcell_minimal build tag. - _ "github.com/gdamore/tcell/v2/terminfo/extended" + _ "github.com/micro-editor/tcell/v2/terminfo/extended" ) diff --git a/terms_dynamic.go b/terms_dynamic.go index f552b0e8..f2b6bed1 100644 --- a/terms_dynamic.go +++ b/terms_dynamic.go @@ -25,8 +25,8 @@ import ( // also don't support Android here, because you really don't want // to run external programs there. Generally the android terminals // will be automatically included anyway. - "github.com/gdamore/tcell/v2/terminfo" - "github.com/gdamore/tcell/v2/terminfo/dynamic" + "github.com/micro-editor/tcell/v2/terminfo" + "github.com/micro-editor/tcell/v2/terminfo/dynamic" ) func loadDynamicTerminfo(term string) (*terminfo.Terminfo, error) { diff --git a/terms_static.go b/terms_static.go index 6d725cbc..6c50e91c 100644 --- a/terms_static.go +++ b/terms_static.go @@ -20,7 +20,7 @@ package tcell import ( "errors" - "github.com/gdamore/tcell/v2/terminfo" + "github.com/micro-editor/tcell/v2/terminfo" ) func loadDynamicTerminfo(_ string) (*terminfo.Terminfo, error) { diff --git a/tscreen.go b/tscreen.go index d0b5589f..9cba8d65 100644 --- a/tscreen.go +++ b/tscreen.go @@ -33,10 +33,10 @@ import ( "golang.org/x/term" "golang.org/x/text/transform" - "github.com/gdamore/tcell/v2/terminfo" + "github.com/micro-editor/tcell/v2/terminfo" // import the stock terminals - _ "github.com/gdamore/tcell/v2/terminfo/base" + _ "github.com/micro-editor/tcell/v2/terminfo/base" ) // NewTerminfoScreen returns a Screen that uses the stock TTY interface diff --git a/views/_demos/cellview.go b/views/_demos/cellview.go index 2e2701f9..2dc5a40a 100644 --- a/views/_demos/cellview.go +++ b/views/_demos/cellview.go @@ -21,8 +21,8 @@ import ( "fmt" "os" - "github.com/gdamore/tcell/v2" - "github.com/gdamore/tcell/v2/views" + "github.com/micro-editor/tcell/v2" + "github.com/micro-editor/tcell/v2/views" ) var app = &views.Application{} diff --git a/views/_demos/hbox.go b/views/_demos/hbox.go index 7a3b66a5..0f3aa3ad 100644 --- a/views/_demos/hbox.go +++ b/views/_demos/hbox.go @@ -21,8 +21,8 @@ import ( "fmt" "os" - "github.com/gdamore/tcell/v2" - "github.com/gdamore/tcell/v2/views" + "github.com/micro-editor/tcell/v2" + "github.com/micro-editor/tcell/v2/views" ) type boxL struct { diff --git a/views/_demos/vbox.go b/views/_demos/vbox.go index 5f4592f4..bca4136c 100644 --- a/views/_demos/vbox.go +++ b/views/_demos/vbox.go @@ -21,8 +21,8 @@ import ( "fmt" "os" - "github.com/gdamore/tcell/v2" - "github.com/gdamore/tcell/v2/views" + "github.com/micro-editor/tcell/v2" + "github.com/micro-editor/tcell/v2/views" ) type boxL struct { diff --git a/views/app.go b/views/app.go index 1399939d..0a977ffd 100644 --- a/views/app.go +++ b/views/app.go @@ -17,7 +17,7 @@ package views import ( "sync" - "github.com/gdamore/tcell/v2" + "github.com/micro-editor/tcell/v2" ) // Application represents an event-driven application running on a screen. diff --git a/views/boxlayout.go b/views/boxlayout.go index 47093b55..558ca699 100644 --- a/views/boxlayout.go +++ b/views/boxlayout.go @@ -15,7 +15,7 @@ package views import ( - "github.com/gdamore/tcell/v2" + "github.com/micro-editor/tcell/v2" ) // BoxLayout is a container Widget that lays out its child widgets in diff --git a/views/cellarea.go b/views/cellarea.go index 8b2860d3..d5b063a2 100644 --- a/views/cellarea.go +++ b/views/cellarea.go @@ -17,7 +17,7 @@ package views import ( "sync" - "github.com/gdamore/tcell/v2" + "github.com/micro-editor/tcell/v2" ) // CellModel models the content of a CellView. The dimensions used within diff --git a/views/spacer.go b/views/spacer.go index 7bba7b7c..89d9a8c6 100644 --- a/views/spacer.go +++ b/views/spacer.go @@ -15,7 +15,7 @@ package views import ( - "github.com/gdamore/tcell/v2" + "github.com/micro-editor/tcell/v2" ) // Spacer is a Widget that occupies no visible real-estate. It is useful to diff --git a/views/sstext.go b/views/sstext.go index 9e233e64..3af9c6d3 100644 --- a/views/sstext.go +++ b/views/sstext.go @@ -17,7 +17,7 @@ package views import ( "unicode" - "github.com/gdamore/tcell/v2" + "github.com/micro-editor/tcell/v2" ) // SimpleStyledText is a form of Text that offers highlighting of the text diff --git a/views/sstextbar.go b/views/sstextbar.go index 7ef2c282..fa552930 100644 --- a/views/sstextbar.go +++ b/views/sstextbar.go @@ -17,7 +17,7 @@ package views import ( "sync" - "github.com/gdamore/tcell/v2" + "github.com/micro-editor/tcell/v2" ) // SimpleStyledTextBar is a Widget that provides a single line of text, but diff --git a/views/text.go b/views/text.go index 16d5afdf..d66ac38b 100644 --- a/views/text.go +++ b/views/text.go @@ -17,7 +17,7 @@ package views import ( "github.com/mattn/go-runewidth" - "github.com/gdamore/tcell/v2" + "github.com/micro-editor/tcell/v2" ) // Text is a Widget with containing a block of text, which can optionally diff --git a/views/textarea.go b/views/textarea.go index 8925b235..8166ef6a 100644 --- a/views/textarea.go +++ b/views/textarea.go @@ -18,7 +18,7 @@ import ( "strings" "sync" - "github.com/gdamore/tcell/v2" + "github.com/micro-editor/tcell/v2" ) // TextArea is a pannable 2 dimensional text widget. It wraps both diff --git a/views/textbar.go b/views/textbar.go index 5157b8ee..8ab66197 100644 --- a/views/textbar.go +++ b/views/textbar.go @@ -17,7 +17,7 @@ package views import ( "sync" - "github.com/gdamore/tcell/v2" + "github.com/micro-editor/tcell/v2" ) // TextBar is a Widget that provides a single line of text, but with diff --git a/views/view.go b/views/view.go index 1ab200a8..9f13fe13 100644 --- a/views/view.go +++ b/views/view.go @@ -15,7 +15,7 @@ package views import ( - "github.com/gdamore/tcell/v2" + "github.com/micro-editor/tcell/v2" ) // View represents a logical view on an area. It will have some underlying diff --git a/views/widget.go b/views/widget.go index 279e452a..494be1ee 100644 --- a/views/widget.go +++ b/views/widget.go @@ -17,7 +17,7 @@ package views import ( "sync" - "github.com/gdamore/tcell/v2" + "github.com/micro-editor/tcell/v2" ) // Widget is the base object that all onscreen elements implement. diff --git a/wscreen.go b/wscreen.go index 137968cc..a1505e7b 100644 --- a/wscreen.go +++ b/wscreen.go @@ -19,7 +19,7 @@ package tcell import ( "errors" - "github.com/gdamore/tcell/v2/terminfo" + "github.com/micro-editor/tcell/v2/terminfo" "strings" "sync" "syscall/js"