kingToolbox / kingToolbox/WindTerm

[Bug] Quick Send Command corrupts path (`-` replaced with ^G, path truncated)

Open
#3,037 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
32.3k
Forks
2.5k
PR merge metrics
No merged PRs in 30d

Description

Description

Steps to reproduce:

1. Configure a quick send command in WinTerm, for example:

` cd C:\Users\xxx\develop\karaf\apache-karaf-4.4.8\bin`

2. Send it to a PowerShell terminal.

3. The command received in PowerShell becomes:

`cd C:\Users\xxx\develop\karaf^Gpache-karaf-4.4.in`

Expected behavior:
- The command should be passed exactly as written.
- The path should remain C:\Users\xxx\develop\karaf\apache-karaf-4.4.8\bin.


Actual behavior:
- The character - is incorrectly replaced with ^G (ASCII 0x07, BEL).
- The .8\bin part of the path is truncated into .in.


PowerShell throws an error:

` cd : The path contains illegal characters.`


Environment
- OS: Windows 11
- Shell: PowerShell
- WinTerm: 2.6.0

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the Quick Send Command behavior in WinTerm 2.6.0 on Windows 11 with a PowerShell terminal, then locate the command-sending entry point. Verify handling of the hyphen and trailing path characters against the exact command shown in the report; done means the full path arrives unchanged without a PowerShell error.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, powershell
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.