Skip to content

Commit

Permalink
Fixed the free line breaks that came with narrow terminals
Browse files Browse the repository at this point in the history
  • Loading branch information
BasioMeusPuga committed May 5, 2017
1 parent 08b78e2 commit b7f7877
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion twitchy.py
Original file line number Diff line number Diff line change
Expand Up @@ -372,6 +372,8 @@ def template_mapping(called_from):

third_column = 20
# Preceding specification is mostly pointless as long as it's non zero
# If however, it exceeds the column number of the terminal, we'll get the unenviable
# free line breaks. That's just silly.

if called_from == 'list':
first_column = 25
Expand All @@ -388,7 +390,6 @@ def template_mapping(called_from):
elif called_from == 'watch':
first_column = 25
second_column = 20
third_column = 100
elif called_from == 'vods':
first_column = 40
second_column = 60
Expand Down

0 comments on commit b7f7877

Please sign in to comment.