Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

WIP - width aware output take 2#731

Closed
thomasballinger wants to merge 2 commits into
bpython:masterbpython/bpython:masterfrom
thomasballinger:width-awarethomasballinger/bpython:width-awareCopy head branch name to clipboard
Closed

WIP - width aware output take 2#731
thomasballinger wants to merge 2 commits into
bpython:masterbpython/bpython:masterfrom
thomasballinger:width-awarethomasballinger/bpython:width-awareCopy head branch name to clipboard

Conversation

@thomasballinger

@thomasballinger thomasballinger commented Feb 13, 2018

Copy link
Copy Markdown
Member

The Curtsies version referenced does not exist yet, don't merge.

Perf looks better now, a linear 10x slower. Wonder if this is good enough, I made some guesses about how to make things fast in bpython/curtsies#109 but haven't profiled at all.

betterperf

@thomasballinger

Copy link
Copy Markdown
Member Author

A requirement for merging this should be identifying exactly what it's fixing. I had thought it might be fixing issues like #670 but that has to do with terminal escapes - this is really only a unicode fix.

@thomasballinger

Copy link
Copy Markdown
Member Author

Another issue: print('a\tsdf'*100) crashes with this patch applied (previously how did this work?)

@ikanobori

Copy link
Copy Markdown
Contributor

Not entirely sure but could you, while you're in this part of the code, see if this also gets resolved: #724 with the patches?

@thomasballinger

Copy link
Copy Markdown
Member Author

@rybarczykj knows where this is if we work on this more, I'm closing because even if we do this it won't be with this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.