kingToolbox / kingToolbox/WindTerm

MacOS version does not understand home folder as ~

Open
#872 6 comments 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

I use Windows, Linux and MacOS version of Windterm 2.4.1 using the same `.wind` folder.

On windows and Linux, Winterm can understand that `~` in `~/.ssh/mykey` is the home folder, but on MacOS, it does not recognize the `~` path.

Example is shown in the screenshot below. I think there is something wrong with parsing the home path on Mac.

Screen Shot 2022-07-09 at 22 43 00

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the path handling problem on macOS with ~/.ssh/mykey and compare it with the working Windows and Linux behavior described in the issue. Trace the home-path parsing entry point, then verify that the same path resolves to the user's home directory on macOS without regressing the other platforms.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, macos
Domain
desktop, operating-systems
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.