~delthas/senpai-dev

Use new go-scfg location v1 PROPOSED

Taavi Väänänen: 1
 Use new go-scfg location

 3 files changed, 4 insertions(+), 5 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~delthas/senpai-dev/patches/56748/mbox | git am -3
Learn more about email & git

[PATCH v1] Use new go-scfg location Export this patch

---
 config.go | 3 +--
 go.mod    | 2 +-
 go.sum    | 4 ++--
 3 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/config.go b/config.go
index 3b6c40b..56feee9 100644
--- a/config.go
+++ b/config.go
@@ -9,11 +9,10 @@ import (
	"strconv"
	"strings"

	"codeberg.org/emersion/go-scfg"
	"git.sr.ht/~rockorager/vaxis"

	"git.sr.ht/~delthas/senpai/ui"

	"git.sr.ht/~emersion/go-scfg"
)

func parseColor(s string, c *vaxis.Color) error {
diff --git a/go.mod b/go.mod
index 89bffec..ae76d0d 100644
--- a/go.mod
+++ b/go.mod
@@ -3,7 +3,7 @@ module git.sr.ht/~delthas/senpai
go 1.18

require (
	git.sr.ht/~emersion/go-scfg v0.0.0-20240128091534-2ae16e782082
	codeberg.org/emersion/go-scfg v0.1.0
	git.sr.ht/~rockorager/vaxis v0.10.3
	github.com/delthas/go-libnp v0.0.0-20221222161248-0e45ece1f878
	github.com/delthas/go-localeinfo v0.0.0-20240813094314-e5413e186769
diff --git a/go.sum b/go.sum
index 2cf3f8d..6fea107 100644
--- a/go.sum
+++ b/go.sum
@@ -1,5 +1,5 @@
git.sr.ht/~emersion/go-scfg v0.0.0-20240128091534-2ae16e782082 h1:9Udx5fm4vRtmgDIBjy2ef5QioHbzpw5oHabbhpAUyEw=
git.sr.ht/~emersion/go-scfg v0.0.0-20240128091534-2ae16e782082/go.mod h1:ybgvEJTIx5XbaspSviB3KNa6OdPmAZqDoSud7z8fFlw=
codeberg.org/emersion/go-scfg v0.1.0 h1:6dnGU0ZI4gX+O5rMjwhoaySItzHG710eXL5TIQKl+uM=
codeberg.org/emersion/go-scfg v0.1.0/go.mod h1:0nooW1ufBB4SlJEdTtiVN9Or+bnNM1icOkQ6Tbrq6O0=
git.sr.ht/~rockorager/vaxis v0.10.3 h1:r9oHYKPfItWh05SQE/UJ4wDrmWRY9MDJKtA9HEl5nBI=
git.sr.ht/~rockorager/vaxis v0.10.3/go.mod h1:h94aKek3frIV1hJbdXjqnBqaLkbWXvV+UxAsQHg9bns=
github.com/containerd/console v1.0.4 h1:F2g4+oChYvBTsASRTz8NP6iIAi97J3TtSAsLbIFn4ro=

base-commit: f5c599efccb261ab051037a54cefbd7b6765149a
-- 
2.45.2