From 8c4e3c81890f26f056eff7b3344f23fed4c1d970 Mon Sep 17 00:00:00 2001 From: citrons Date: Mon, 2 Jun 2025 14:00:25 -0500 Subject: prompt system --- client/window/window.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'client/window/window.go') 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() -- cgit v1.2.3