aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorRobin Jarry <robin@jarry.cc>2023-02-05 23:23:02 +0100
committerRobin Jarry <robin@jarry.cc>2023-02-20 14:48:42 +0100
commit6af06c9dfec03e923589d34187ba8358e3423d5c (patch)
tree3722f17464ca651ebd12d7d6d55a0e97ae72c8ec /lib
parent34db5942bd7b642107002b75de9d5d5c7fe90e4c (diff)
downloadaerc-6af06c9dfec03e923589d34187ba8358e3423d5c.tar.gz
statusline: move files to lib/state
These modules will not handle statusline rendering after next commit. Move them in lib/state to make next commit easier to review. Signed-off-by: Robin Jarry <robin@jarry.cc> Acked-by: Tim Culverhouse <tim@timculverhouse.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/state/renderer.go (renamed from lib/statusline/renderer.go)2
-rw-r--r--lib/state/state.go (renamed from lib/statusline/state.go)2
-rw-r--r--lib/state/texter.go (renamed from lib/statusline/texter.go)2
3 files changed, 3 insertions, 3 deletions
diff --git a/lib/statusline/renderer.go b/lib/state/renderer.go
index 993cfcc5..13e593fe 100644
--- a/lib/statusline/renderer.go
+++ b/lib/state/renderer.go
@@ -1,4 +1,4 @@
-package statusline
+package state
import (
"errors"
diff --git a/lib/statusline/state.go b/lib/state/state.go
index 528400b1..b5f925ac 100644
--- a/lib/statusline/state.go
+++ b/lib/state/state.go
@@ -1,4 +1,4 @@
-package statusline
+package state
import (
"fmt"
diff --git a/lib/statusline/texter.go b/lib/state/texter.go
index d06b1982..21cf3627 100644
--- a/lib/statusline/texter.go
+++ b/lib/state/texter.go
@@ -1,4 +1,4 @@
-package statusline
+package state
import "strings"