summaryrefslogtreecommitdiff
path: root/internal/tmuxedit/pane.go
diff options
context:
space:
mode:
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) {