dsh-enter-send: Toggle Enter and Ctrl+Enter for sending in the DSH input box
dsh-enter-send is a DSH client plugin maintained by JHyugou. It adds a send-mode chip to the right side of the permission controls in the input toolbar, allowing users to toggle between "Enter to send" and "Ctrl+Enter to send," with the other key inserting a newline. Preferences are stored in localStorage, and the default "Enter to send" behavior remains consistent with the native client. To install, use `dsh plugin --profile` to link the directory, then refresh the page to apply changes. The plugin only intercepts keystrokes in the main input body and handles edge cases such as narrow-screen collapsing and autocomplete menus.
Read Moredsh-enter-send: Remap the send keybinding for the DSH chat input box
The `dsh-enter-send` plugin allows users to customize the behavior of the Enter key in the chat input box, supporting switching between "Send on Enter" and "Send on Ctrl+Enter" modes. It adds a "Send Shortcut" option to the settings page, ensures that Shift+Enter always inserts a new line, and is compatible with Chinese input methods. Installation requires dsh version 0.1.2-rc.1 or later, using the command `dsh plugin --profile web add github:Nalleyer/dsh-enter-send`. During installation, pay attention to pnpm version compatibility and build permission issues.
Read More