summaryrefslogtreecommitdiff
path: root/internal/tmuxedit/pane.go
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-06-18 08:05:32 +0300
committerPaul Buetow <paul@buetow.org>2026-06-18 08:05:32 +0300
commita80ad2b4691d0df63f68c6977ee18444e7bb752f (patch)
tree6edc47fcc3c929856826432cf3df3394a14934e8 /internal/tmuxedit/pane.go
parent4ffb22e7f69f1c9c79b095d4e60bad3d97aac55b (diff)
ik0 replace remaining test seams with DI
Diffstat (limited to 'internal/tmuxedit/pane.go')
-rw-r--r--internal/tmuxedit/pane.go15
1 files changed, 8 insertions, 7 deletions
diff --git a/internal/tmuxedit/pane.go b/internal/tmuxedit/pane.go
index 0b6be93..2713994 100644
--- a/internal/tmuxedit/pane.go
+++ b/internal/tmuxedit/pane.go
@@ -8,13 +8,14 @@ import (
)
type tmuxEditDeps struct {
- runCommand func(string, ...string) ([]byte, error)
- capturePane func(string) (string, error)
- openEditorPopup func(string, string, string) (string, error)
- sendKeys func(string, ...string) error
- sendRepeatedKey func(string, string, int) error
- sleepAfterClear func()
- launchPopup func(string, string, string, string) error
+ runCommand func(string, ...string) ([]byte, error)
+ capturePane func(string) (string, error)
+ openEditorPopup func(string, string, string) (string, error)
+ sendKeys func(string, ...string) error
+ sendRepeatedKey func(string, string, int) error
+ sleepAfterClear func()
+ sleepAfterEscape func()
+ launchPopup func(string, string, string, string) error
}
func (d tmuxEditDeps) command(name string, args ...string) ([]byte, error) {