Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix redraw of WPT UI output, and slightly improve line counting #8861

Merged
merged 2 commits into from Dec 7, 2015
Merged
Changes from 1 commit
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

Prev

Improve line counting operation in WPT UI output

  • Loading branch information
salty-horse committed Dec 6, 2015
commit dfac35c77d973e7d6e06df0442b20c30619e0c72
@@ -67,7 +67,7 @@ def text_to_erase_display(self):
if not self.interactive or not self.current_display:
return ""
return ((self.move_up + self.clear_eol) *
len(self.current_display.splitlines()))
self.current_display.count('\n'))

def generate_output(self, text=None, new_display=None):
if not self.interactive:
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.