From ba3caee165d458bda48517b05a5a77a16273182b Mon Sep 17 00:00:00 2001 From: Aki Kareha Date: Sun, 29 Mar 2026 09:54:20 +0900 Subject: [PATCH] Transfer from lab to cup --- Makefile | 3 --- cmd/levi/main.go | 2 +- go.mod | 9 ++++----- go.sum | 4 ++-- internal/editor/draw.go | 2 +- internal/editor/editor.go | 2 +- internal/editor/main.go | 2 +- 7 files changed, 10 insertions(+), 14 deletions(-) diff --git a/Makefile b/Makefile index f3f3109..be1ec61 100644 --- a/Makefile +++ b/Makefile @@ -1,8 +1,5 @@ all: build -env: - go env -w GOPRIVATE=tea.kareha.org - build: go build -o levi ./cmd/levi diff --git a/cmd/levi/main.go b/cmd/levi/main.go index 88dd76b..bcbdb8e 100644 --- a/cmd/levi/main.go +++ b/cmd/levi/main.go @@ -3,7 +3,7 @@ package main import ( "os" - "tea.kareha.org/lab/levi/internal/editor" + "tea.kareha.org/cup/levi/internal/editor" ) func main() { diff --git a/go.mod b/go.mod index 767c754..5d20085 100644 --- a/go.mod +++ b/go.mod @@ -1,10 +1,9 @@ -module tea.kareha.org/lab/levi +module tea.kareha.org/cup/levi go 1.25.0 -require ( - golang.org/x/term v0.41.0 // indirect - tea.kareha.org/lab/termi v0.0.0-20260326135653-28299eeba224 -) +require golang.org/x/term v0.41.0 // indirect + +require tea.kareha.org/cup/termi v0.0.0-20260329004923-d87a5f85904d require golang.org/x/sys v0.42.0 // indirect diff --git a/go.sum b/go.sum index cd2a563..88b7fc9 100644 --- a/go.sum +++ b/go.sum @@ -2,5 +2,5 @@ golang.org/x/sys v0.42.0 h1:omrd2nAlyT5ESRdCLYdm3+fMfNFE/+Rf4bDIQImRJeo= golang.org/x/sys v0.42.0/go.mod h1:4GL1E5IUh+htKOUEOaiffhrAeqysfVGipDYzABqnCmw= golang.org/x/term v0.41.0 h1:QCgPso/Q3RTJx2Th4bDLqML4W6iJiaXFq2/ftQF13YU= golang.org/x/term v0.41.0/go.mod h1:3pfBgksrReYfZ5lvYM0kSO0LIkAl4Yl2bXOkKP7Ec2A= -tea.kareha.org/lab/termi v0.0.0-20260326135653-28299eeba224 h1:nf3D+GjzIP9ab7fXIZmaFloRFD478SV4+bPhB9Wa1U0= -tea.kareha.org/lab/termi v0.0.0-20260326135653-28299eeba224/go.mod h1:+ticjUt1pyuink8Qip4QHN3GGz1QaNPRuJrM+jWRLgU= +tea.kareha.org/cup/termi v0.0.0-20260329004923-d87a5f85904d h1:qQJbnZRpIFl8qZSwDitMqKwXqCeYpeXD8p6tJaCATt0= +tea.kareha.org/cup/termi v0.0.0-20260329004923-d87a5f85904d/go.mod h1:sXymS6HwRZS6gUxfeXjLEN5GYXEbGWVZplA/AOBO8JI= diff --git a/internal/editor/draw.go b/internal/editor/draw.go index 1b2b288..19706d5 100644 --- a/internal/editor/draw.go +++ b/internal/editor/draw.go @@ -3,7 +3,7 @@ package editor import ( "unicode/utf8" - "tea.kareha.org/lab/termi" + "tea.kareha.org/cup/termi" ) func (ed *Editor) LineHeight(line string) int { diff --git a/internal/editor/editor.go b/internal/editor/editor.go index 362cd5a..54de096 100644 --- a/internal/editor/editor.go +++ b/internal/editor/editor.go @@ -5,7 +5,7 @@ import ( "strings" "unicode/utf8" - "tea.kareha.org/lab/termi" + "tea.kareha.org/cup/termi" ) type Mode int diff --git a/internal/editor/main.go b/internal/editor/main.go index d10189f..e926913 100644 --- a/internal/editor/main.go +++ b/internal/editor/main.go @@ -1,7 +1,7 @@ package editor import ( - "tea.kareha.org/lab/termi" + "tea.kareha.org/cup/termi" ) func (ed *Editor) InsertNewline() {