Skip to content

Commit 8289fd9

Browse files
committed
go-prompt: rename module
1 parent aab3a8a commit 8289fd9

File tree

21 files changed

+28
-26
lines changed

21 files changed

+28
-26
lines changed

_example/exec-command/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"os"
55
"os/exec"
66

7-
prompt "github.com/c-bata/go-prompt"
7+
prompt "github.com/tarantool/go-prompt"
88
)
99

1010
func executor(t string) {

_example/http-prompt/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import (
1010
"path"
1111
"strings"
1212

13-
prompt "github.com/c-bata/go-prompt"
13+
prompt "github.com/tarantool/go-prompt"
1414
)
1515

1616
type RequestContext struct {

_example/live-prefix/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package main
33
import (
44
"fmt"
55

6-
prompt "github.com/c-bata/go-prompt"
6+
prompt "github.com/tarantool/go-prompt"
77
)
88

99
var LivePrefixState struct {

_example/simple-echo/cjk-cyrillic/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package main
33
import (
44
"fmt"
55

6-
prompt "github.com/c-bata/go-prompt"
6+
prompt "github.com/tarantool/go-prompt"
77
)
88

99
func executor(in string) {

_example/simple-echo/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package main
33
import (
44
"fmt"
55

6-
prompt "github.com/c-bata/go-prompt"
6+
prompt "github.com/tarantool/go-prompt"
77
)
88

99
func completer(in prompt.Document) []prompt.Suggest {

_tools/complete_file/main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ import (
55
"os"
66
"strings"
77

8-
prompt "github.com/c-bata/go-prompt"
9-
"github.com/c-bata/go-prompt/completer"
8+
prompt "github.com/tarantool/go-prompt"
9+
"github.com/tarantool/go-prompt/completer"
1010
)
1111

1212
var filePathCompleter = completer.FilePathCompleter{

_tools/vt100_debug/main.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
//go:build !windows
12
// +build !windows
23

34
package main
@@ -6,8 +7,8 @@ import (
67
"fmt"
78
"syscall"
89

9-
prompt "github.com/c-bata/go-prompt"
10-
"github.com/c-bata/go-prompt/internal/term"
10+
prompt "github.com/tarantool/go-prompt"
11+
"github.com/tarantool/go-prompt/internal/term"
1112
)
1213

1314
func main() {

buffer.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package prompt
33
import (
44
"strings"
55

6-
"github.com/c-bata/go-prompt/internal/debug"
6+
"github.com/tarantool/go-prompt/internal/debug"
77
)
88

99
// Buffer emulates the console buffer.

completer/file.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ import (
77
"path/filepath"
88
"runtime"
99

10-
prompt "github.com/c-bata/go-prompt"
11-
"github.com/c-bata/go-prompt/internal/debug"
10+
prompt "github.com/tarantool/go-prompt"
11+
"github.com/tarantool/go-prompt/internal/debug"
1212
)
1313

1414
var (

completion.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ package prompt
33
import (
44
"strings"
55

6-
"github.com/c-bata/go-prompt/internal/debug"
76
runewidth "github.com/mattn/go-runewidth"
7+
"github.com/tarantool/go-prompt/internal/debug"
88
)
99

1010
const (

0 commit comments

Comments
 (0)