Skip to content

Commit

Permalink
Rename project repository import paths
Browse files Browse the repository at this point in the history
  • Loading branch information
JoeKar committed Oct 13, 2024
1 parent 52f2eaf commit d682fba
Show file tree
Hide file tree
Showing 77 changed files with 126 additions and 126 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion CHANGESv2.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
2 changes: 1 addition & 1 deletion TUTORIAL.md
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion _demos/beep.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import (
"os"
"time"

"github.com/gdamore/tcell/v2"
"github.com/micro-editor/tcell/v2"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion _demos/boxes.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import (
"os"
"time"

"github.com/gdamore/tcell/v2"
"github.com/micro-editor/tcell/v2"
)

func makebox(s tcell.Screen) {
Expand Down
2 changes: 1 addition & 1 deletion _demos/colors.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import (
"os"
"time"

"github.com/gdamore/tcell/v2"
"github.com/micro-editor/tcell/v2"
)

var red = int32(rand.Int() % 256)
Expand Down
2 changes: 1 addition & 1 deletion _demos/cursors.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ package main

import (
"fmt"
"github.com/gdamore/tcell/v2"
"github.com/micro-editor/tcell/v2"
"os"
)

Expand Down
4 changes: 2 additions & 2 deletions _demos/hello_world.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)
Expand Down
4 changes: 2 additions & 2 deletions _demos/hyperlink.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)
Expand Down
4 changes: 2 additions & 2 deletions _demos/mouse.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)
Expand Down
4 changes: 2 additions & 2 deletions _demos/setsize.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)
Expand Down
4 changes: 2 additions & 2 deletions _demos/sixel.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion _demos/stress.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import (
"math/rand"
"time"

"github.com/gdamore/tcell/v2"
"github.com/micro-editor/tcell/v2"
)

func main() {
Expand Down
4 changes: 2 additions & 2 deletions _demos/unicode.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand Down
2 changes: 1 addition & 1 deletion encoding/all.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion encoding/encoding_init_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ package encoding
import (
"testing"

"github.com/gdamore/tcell/v2"
"github.com/micro-editor/tcell/v2"
)

func TestGBK(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion errors.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import (
"errors"
"time"

"github.com/gdamore/tcell/v2/terminfo"
"github.com/micro-editor/tcell/v2/terminfo"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/gdamore/tcell/v2
module github.com/micro-editor/tcell/v2

go 1.12

Expand Down
2 changes: 1 addition & 1 deletion termbox/compat.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ package termbox
import (
"errors"

"github.com/gdamore/tcell/v2"
"github.com/micro-editor/tcell/v2"
)

var screen tcell.Screen
Expand Down
2 changes: 1 addition & 1 deletion terminfo/a/aixterm/term.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

package aixterm

import "github.com/gdamore/tcell/v2/terminfo"
import "github.com/micro-editor/tcell/v2/terminfo"

func init() {

Expand Down
2 changes: 1 addition & 1 deletion terminfo/a/alacritty/direct.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

package alacritty

import "github.com/gdamore/tcell/v2/terminfo"
import "github.com/micro-editor/tcell/v2/terminfo"

func init() {

Expand Down
2 changes: 1 addition & 1 deletion terminfo/a/alacritty/term.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

package alacritty

import "github.com/gdamore/tcell/v2/terminfo"
import "github.com/micro-editor/tcell/v2/terminfo"

func init() {

Expand Down
2 changes: 1 addition & 1 deletion terminfo/a/ansi/term.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

package ansi

import "github.com/gdamore/tcell/v2/terminfo"
import "github.com/micro-editor/tcell/v2/terminfo"

func init() {

Expand Down
2 changes: 1 addition & 1 deletion terminfo/b/beterm/term.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

package beterm

import "github.com/gdamore/tcell/v2/terminfo"
import "github.com/micro-editor/tcell/v2/terminfo"

func init() {

Expand Down
10 changes: 5 additions & 5 deletions terminfo/base/base.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)
2 changes: 1 addition & 1 deletion terminfo/c/cygwin/term.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

package cygwin

import "github.com/gdamore/tcell/v2/terminfo"
import "github.com/micro-editor/tcell/v2/terminfo"

func init() {

Expand Down
2 changes: 1 addition & 1 deletion terminfo/d/dtterm/term.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

package dtterm

import "github.com/gdamore/tcell/v2/terminfo"
import "github.com/micro-editor/tcell/v2/terminfo"

func init() {

Expand Down
2 changes: 1 addition & 1 deletion terminfo/dynamic/dynamic.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import (
"strconv"
"strings"

"github.com/gdamore/tcell/v2/terminfo"
"github.com/micro-editor/tcell/v2/terminfo"
)

type termcap struct {
Expand Down
2 changes: 1 addition & 1 deletion terminfo/e/emacs/term.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

package emacs

import "github.com/gdamore/tcell/v2/terminfo"
import "github.com/micro-editor/tcell/v2/terminfo"

func init() {

Expand Down
64 changes: 32 additions & 32 deletions terminfo/extended/extended.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)
2 changes: 1 addition & 1 deletion terminfo/f/foot/foot.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

package foot

import "github.com/gdamore/tcell/v2/terminfo"
import "github.com/micro-editor/tcell/v2/terminfo"

func init() {

Expand Down
2 changes: 1 addition & 1 deletion terminfo/g/gnome/term.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

package gnome

import "github.com/gdamore/tcell/v2/terminfo"
import "github.com/micro-editor/tcell/v2/terminfo"

func init() {

Expand Down
2 changes: 1 addition & 1 deletion terminfo/h/hpterm/term.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

package hpterm

import "github.com/gdamore/tcell/v2/terminfo"
import "github.com/micro-editor/tcell/v2/terminfo"

func init() {

Expand Down
2 changes: 1 addition & 1 deletion terminfo/k/konsole/term.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

package konsole

import "github.com/gdamore/tcell/v2/terminfo"
import "github.com/micro-editor/tcell/v2/terminfo"

func init() {

Expand Down
Loading

0 comments on commit d682fba

Please sign in to comment.