Skip to content

Commit

Permalink
don't size editor according to text; always fixed row size
Browse files Browse the repository at this point in the history
  • Loading branch information
haliphax committed Mar 4, 2020
1 parent b25cee3 commit 0c49343
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xthulu/ui/editors.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def refresh(self):
split = self.text.split('\r\n')
txtlen = len(split)

for i in range(max(txtlen, self.rows)):
for i in range(self.rows):
if i > 0:
out += '\r\n'

Expand Down

0 comments on commit 0c49343

Please sign in to comment.