From d3e531ec7c1bd860f1fc878e41a5ff39fc6af67a Mon Sep 17 00:00:00 2001 From: Dominik Jain Date: Wed, 28 Jan 2026 19:21:04 +0100 Subject: [PATCH] Improve REPL - Add full command history navigation with arrow up/down keys - Show history indicator while browsing (yellow box with position) - Auto-resize textarea to fit content - Improve scroll behavior to show output after execution - Remove redundant auto-fill of previous code - Streamline page layout (remove heading, fix scrollbar issues) --- mcp-server/src/static/repl.html | 262 ++++++++++++++++++++++++++++---- 1 file changed, 229 insertions(+), 33 deletions(-) diff --git a/mcp-server/src/static/repl.html b/mcp-server/src/static/repl.html index 8ced2bb..9fafa13 100644 --- a/mcp-server/src/static/repl.html +++ b/mcp-server/src/static/repl.html @@ -6,18 +6,21 @@ Penpot API REPL -

Penpot API REPL

-
-
Press Ctrl+Enter to execute code • Shift+Enter for new line
+
Ctrl+Enter to execute • Arrow up/down for command history