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

Go faster #185

Merged
merged 4 commits into from
Nov 13, 2018
Merged

Go faster #185

merged 4 commits into from
Nov 13, 2018

Conversation

peterbrittain
Copy link
Owner

Time to merge!

asciimatics/screen.py Show resolved Hide resolved
asciimatics/screen.py Show resolved Hide resolved
asciimatics/screen.py Show resolved Hide resolved
@@ -552,17 +599,31 @@ def print_at(self, text, x, y, colour=7, attr=0, bg=0, transparent=False):
if c != " " or not transparent:
# Fix up orphaned double-width glyphs that we've just bisected.
if x + i + j - 1 >= 0 and self._buffer.get(x + i + j - 1, y)[4] == 2:
self._buffer.set(x + i + j - 1, y, (ord("x"), 0, 0, 0, 1))
self._buffer.set(x + i + j - 1, y,
(ord("x"), 0, 0, 0, 1))
Copy link
Contributor

Choose a reason for hiding this comment

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

E501 line too long (83 > 79 characters)

asciimatics/screen.py Show resolved Hide resolved
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.

None yet

2 participants