Skip to content

Conversation

@elahehrashedi
Copy link
Contributor

@elahehrashedi elahehrashedi commented Oct 23, 2020

updated on 10/27:
wsl:
image

windows (g++):
image

windows (cl.exe):
image

@elahehrashedi elahehrashedi changed the title fix tab issues on g++ on windows fix tab issues terminal (windows and wsl are verified) Oct 23, 2020
@elahehrashedi elahehrashedi requested a review from a team October 23, 2020 23:44
}

const splitWriteEmitter = (lines: string | Buffer) => {
for (const line of lines.toString().replace("\r\n", "\n").split("\n")) {
Copy link
Member

Choose a reason for hiding this comment

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

I think you can split on a regex so that you don't have to substitute before splitting the lines. Something like this (not tested): lines.toString().split(/\r?\n/g)

@elahehrashedi elahehrashedi changed the title fix tab issues terminal (windows and wsl are verified) fix terminal issues (windows/ubuntu/ubuntu on wsl Oct 27, 2020
@elahehrashedi elahehrashedi changed the title fix terminal issues (windows/ubuntu/ubuntu on wsl fix terminal issues (windows/linux/linux-on-wsl verified) Oct 27, 2020
@elahehrashedi elahehrashedi merged commit 554c914 into master Oct 27, 2020
@elahehrashedi elahehrashedi deleted the ella/tabs branch October 27, 2020 21:13
@github-actions github-actions bot locked and limited conversation to collaborators Dec 12, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants