Skip to content

v2.19.1

Choose a tag to compare

@github-actions github-actions released this 23 May 15:21
· 6 commits to main since this release

Web Terminal

  • Clear button now drops server-side history: previously only cleared the visible UI; on reconnect/refresh the old ring buffer would replay
    • New REST endpoint GET /terminal_clear resets the ring buffer (writePos/wsSentPos to 0)
    • Frontend awaits server clear, then _xterm.reset() for a clean state (cursor at 0,0, SGR reset)
  • Keyboard shortcuts in view-only mode: standard browser-like behavior when input is disabled
    • Ctrl+C / Ctrl+Insert — copy selection to clipboard
    • Ctrl+A — select entire scrollback
    • In input mode all keys pass through unchanged (Ctrl+C → SIGINT to UART)
    • Implemented via attachCustomKeyEventHandler — xterm scrollback navigation (PageUp/PageDown) preserved
  • Clipboard works over HTTP: Copy button and keyboard shortcuts now work when ESP is accessed by local IP (non-secure context)
    • navigator.clipboard requires HTTPS/localhost — added fallback via document.execCommand('copy')
  • Unified clipboard helper: all copy paths (terminal, logs, crash log) now go through Utils.copyText in utils.js — single implementation, no duplicate fallbacks
  • Terminal Copy / Save: trim trailing empty lines from xterm's virtual buffer (selectAll previously included filler rows beyond actual content)