summaryrefslogtreecommitdiff
path: root/client/window
diff options
context:
space:
mode:
Diffstat (limited to 'client/window')
-rw-r--r--client/window/window.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/client/window/window.go b/client/window/window.go
index 5ed9a18..ba72026 100644
--- a/client/window/window.go
+++ b/client/window/window.go
@@ -10,9 +10,13 @@ type Location interface {
}
type Window interface {
+ Prompt
Location() Location
Kill()
Buffer() *buffer.Buffer
+}
+
+type Prompt interface {
Input() *tui.TextInput
Send(text string)
ShowStatusLine()