Skip to content

Commit

Permalink
get terminal size from shutil instead
Browse files Browse the repository at this point in the history
  • Loading branch information
bkorycki committed Nov 13, 2024
1 parent b7faf5c commit 90e779d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/modelbench/consistency_checker.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import json
import os
import shutil
from abc import ABC, abstractmethod
from collections import Counter, defaultdict
from itertools import product
Expand All @@ -8,7 +8,7 @@

from modelbench.run_journal import journal_reader

LINE_WIDTH = os.get_terminal_size().columns
LINE_WIDTH = shutil.get_terminal_size(fallback=(120, 50)).columns


class JournalSearch:
Expand Down
Empty file.

0 comments on commit 90e779d

Please sign in to comment.