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