Skip to content

fix(obclient): remove unexpected characters to avoid obclient display incorrectly#2353

Merged
yizhouxw merged 2 commits intodev/4.2.xfrom
wenmu_424_fix_obclient_display_incorrectly
May 14, 2024
Merged

fix(obclient): remove unexpected characters to avoid obclient display incorrectly#2353
yizhouxw merged 2 commits intodev/4.2.xfrom
wenmu_424_fix_obclient_display_incorrectly

Conversation

@LuckyPickleZZ
Copy link
Copy Markdown
Member

What type of PR is this?

type-bug

What this PR does / why we need it:

When input a long sequence in obclient, it would return a sequence with \r in it. And it would cause the cursor going back to head of the line .
So we replace these unexpected characters manually.

Which issue(s) this PR fixes:

Fixes #2301

@LuckyPickleZZ LuckyPickleZZ added this to the ODC 4.2.4-bp2 milestone May 10, 2024
@LuckyPickleZZ LuckyPickleZZ requested a review from yhilmare May 10, 2024 08:04
@LuckyPickleZZ LuckyPickleZZ self-assigned this May 10, 2024
@LuckyPickleZZ LuckyPickleZZ requested a review from yizhouxw as a code owner May 10, 2024 08:04
yizhouxw
yizhouxw previously approved these changes May 13, 2024
Copy link
Copy Markdown
Contributor

@yizhouxw yizhouxw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm,

current only windows/linux support command line windows,
windows user \r\n, linux use \n as line separator, but windows is compatible with \n also.

Copy link
Copy Markdown
Contributor

@yhilmare yhilmare left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

Copy link
Copy Markdown
Contributor

@yizhouxw yizhouxw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@yizhouxw yizhouxw merged commit d706d57 into dev/4.2.x May 14, 2024
@yizhouxw yizhouxw deleted the wenmu_424_fix_obclient_display_incorrectly branch May 14, 2024 03:09
@LuckyPickleZZ LuckyPickleZZ restored the wenmu_424_fix_obclient_display_incorrectly branch July 24, 2024 09:01
@LuckyPickleZZ LuckyPickleZZ deleted the wenmu_424_fix_obclient_display_incorrectly branch July 24, 2024 09:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants