Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@bscript
Copy link
Member

@bscript bscript commented Dec 18, 2025

Implemented a keyboard shortcut to send requests in rep+, making it easier to quickly replay requests.

Behavior

  • Pretty request editor (raw-request-input): Press Ctrl+Enter (Windows/Linux) or Cmd+Enter (macOS) to send the request, same as clicking Send.
  • Raw request textarea (raw-request-textarea): Same shortcut works here as well.

Technical details

  • js/ui/ui-utils.js: Extended the keydown handler on elements.rawRequestInput to handle Ctrl/Cmd+Enter before undo/redo, calling elements.sendBtn.click().
  • js/ui/main-ui.js: Added a keydown handler on raw-request-textarea to mirror the same shortcut and trigger elements.sendBtn.click().

@bscript bscript self-assigned this Dec 18, 2025
@bscript bscript added the enhancement New feature or request label Dec 18, 2025
@bscript bscript added this to rep+ Dec 18, 2025
@github-project-automation github-project-automation bot moved this to Backlog in rep+ Dec 18, 2025
@bscript bscript moved this from Backlog to In review in rep+ Dec 18, 2025
@bscript bscript merged commit c8ec93c into main Dec 18, 2025
@github-project-automation github-project-automation bot moved this from In review to Done in rep+ Dec 18, 2025
@bscript bscript deleted the add-hotkeys branch December 18, 2025 13:39
This was referenced Dec 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants