Repeater Console strips trailing whitespace #200

Closed
opened 2026-10-05 02:03:18 +02:00 by adam · 1 comment
Owner

Version: v3.14.0·f4dd6b4

Browser: Firefox 151.0.2 (64-bit)

Example:

Image

Description:

To reset the "guest.password" value via the console it requires a trailing space (MeshCore CommonCLI.cpp#L519):

e.g.
set guest.password

RemoteTerm for MeshCore currently strips white-space on submit: RepeaterConsolePane.tsx#L37

I think just using trimStart() would keep everything working correctly

Note: The back-end code does not strip white-space in send_repeater_command or send_contact_cli_command and works without issue.

**Version:** v3.14.0·f4dd6b4 **Browser:** Firefox 151.0.2 (64-bit) **Example:** <img width="229" height="122" alt="Image" src="https://github.com/user-attachments/assets/098ac620-1d85-431c-b440-16cf85fb92c9" /> **Description:** To reset the "guest.password" value via the console it requires a trailing space ([MeshCore CommonCLI.cpp#L519](https://github.com/meshcore-dev/MeshCore/blob/c940ea5f305df87c4ea215d74e522b64c22c66e9/src/helpers/CommonCLI.cpp#L519)): e.g. `set guest.password ` RemoteTerm for MeshCore currently strips white-space on submit: [RepeaterConsolePane.tsx#L37](https://github.com/jkingsman/Remote-Terminal-for-MeshCore/blob/c68054ba46e94a7ca1369b567be1b34024671a5d/frontend/src/components/repeater/RepeaterConsolePane.tsx#L37) I _think_ just using `trimStart()` would keep everything working correctly Note: The back-end code does not strip white-space in `send_repeater_command` or `send_contact_cli_command` and works without issue. <!-- github-sync-id:4567482943 -->
adam closed this issue 2026-10-05 02:03:18 +02:00
Author
Owner

❤️

❤️ <!-- github-comment-id:4597866146 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/Remote-Terminal-for-MeshCore#200