summaryrefslogtreecommitdiff
path: root/internal/tmuxedit/cursor_agent.go
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-06-18 07:45:37 +0300
committerPaul Buetow <paul@buetow.org>2026-06-18 07:45:37 +0300
commit4ffb22e7f69f1c9c79b095d4e60bad3d97aac55b (patch)
tree2dc708cbb95975d34084eb5afd376871caa13e27 /internal/tmuxedit/cursor_agent.go
parentece7dcfd232b780f5650326c8ac2379ca70387d4 (diff)
ik0 replace test seams with dependency injection
Diffstat (limited to 'internal/tmuxedit/cursor_agent.go')
-rw-r--r--internal/tmuxedit/cursor_agent.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/tmuxedit/cursor_agent.go b/internal/tmuxedit/cursor_agent.go
index 1346d05..ebea38e 100644
--- a/internal/tmuxedit/cursor_agent.go
+++ b/internal/tmuxedit/cursor_agent.go
@@ -50,9 +50,9 @@ func (c *cursorAgent) ClearInput(paneID string) error {
if !c.clearFirst || c.clearKeys == "" {
return nil
}
- if err := sendClearSequence(paneID, c.clearKeys); err != nil {
+ if err := c.deps.sendClearSequence(paneID, c.clearKeys); err != nil {
return err
}
- sleepAfterClear()
+ c.deps.sleep()
return nil
}