kingToolbox / kingToolbox/WindTerm

"cat ~/.ssh/id_rsa.pub" will get different content in windTerm gitbash and native gitbash.

Open
#1,270 0 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

Hi ,

I find an issue , my following operations are in window10 os.

1. in windTerm gitbash , run "cat ~/.ssh/id_rsa.pub" and copy it to VSCode, I see it has four lines.
2. in native gitbash , run "cat ~/.ssh/id_rsa.pub" and copy it to VSCode, see it has only one line.

![image](https://user-images.githubusercontent.com/6613444/194741459-91d41d4a-fb6e-4aa5-a7ae-1f70655651c7.png)

in fact , If I open ~/.ssh/id_rsa.pub in VSCode , I see it has only one line.

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce on Windows 10 by running `cat ~/.ssh/id_rsa.pub` in WindTerm Git Bash and native Git Bash, then compare both results with the file opened in VSCode. Trace how terminal output handles line breaks and determine the expected behavior; done means the discrepancy is explained and the reported output is corrected or documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
shell
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.