Skip to content

Commit

Permalink
Disable console resize on Linux (close #37)
Browse files Browse the repository at this point in the history
  • Loading branch information
AcidWeb committed Nov 4, 2019
1 parent b51175e commit 58fa63a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CurseBreaker.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ def setup_console(self, buffer=0):
else:
windll.kernel32.SetConsoleWindowInfo(self.chandle, True, byref(wintypes.SMALL_RECT(0, 0, 99, 49)))
windll.kernel32.SetConsoleScreenBufferSize(self.chandle, wintypes._COORD(100, 50))
else:
elif self.os == 'Darwin':
set_terminal_size(100, 50)

def setup_completer(self):
Expand Down

0 comments on commit 58fa63a

Please sign in to comment.