summaryrefslogtreecommitdiffhomepage
path: root/internal/tui/components/repl/editor.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/tui/components/repl/editor.go')
-rw-r--r--internal/tui/components/repl/editor.go21
1 files changed, 21 insertions, 0 deletions
diff --git a/internal/tui/components/repl/editor.go b/internal/tui/components/repl/editor.go
new file mode 100644
index 000000000..8a04889ab
--- /dev/null
+++ b/internal/tui/components/repl/editor.go
@@ -0,0 +1,21 @@
+package repl
+
+import tea "github.com/charmbracelet/bubbletea"
+
+type editorCmp struct{}
+
+func (i *editorCmp) Init() tea.Cmd {
+ return nil
+}
+
+func (i *editorCmp) Update(_ tea.Msg) (tea.Model, tea.Cmd) {
+ return i, nil
+}
+
+func (i *editorCmp) View() string {
+ return "Editor"
+}
+
+func NewEditorCmp() tea.Model {
+ return &editorCmp{}
+}