summaryrefslogtreecommitdiffstats
path: root/pkg/integration/components/prompt_driver.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/integration/components/prompt_driver.go')
-rw-r--r--pkg/integration/components/prompt_driver.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/pkg/integration/components/prompt_driver.go b/pkg/integration/components/prompt_driver.go
index 45a6db513..59e3587ef 100644
--- a/pkg/integration/components/prompt_driver.go
+++ b/pkg/integration/components/prompt_driver.go
@@ -32,8 +32,7 @@ func (self *PromptDriver) Type(value string) *PromptDriver {
}
func (self *PromptDriver) Clear() *PromptDriver {
- // TODO: soft-code this
- self.t.press("<c-u>")
+ self.t.press(ClearKey)
return self
}