Skip to content

fix terminal issues (windows/linux/linux-on-wsl verified) - #6384

Merged
Elaheh Rashedi (elahehrashedi) merged 5 commits into
masterfrom
ella/tabs
Oct 27, 2020
Merged

Elaheh Rashedi (elahehrashedi) merged 5 commits into
masterfrom
ella/tabs

Conversation

@elahehrashedi

@elahehrashedi Elaheh Rashedi (elahehrashedi) commented Oct 23, 2020 •

Copy link
Copy Markdown
Contributor

updated on 10/27:
wsl:
image

windows (g++):
image

windows (cl.exe):
image

@elahehrashedi Elaheh Rashedi (elahehrashedi) changed the title fix tab issues on g++ on windows fix tab issues terminal (windows and wsl are verified) Oct 23, 2020
}

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

Copy link
Copy Markdown
Contributor

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 Elaheh Rashedi (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 Elaheh Rashedi (elahehrashedi) changed the title fix terminal issues (windows/ubuntu/ubuntu on wsl fix terminal issues (windows/linux/linux-on-wsl verified) Oct 27, 2020
@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.

3 participants