Commit ffd34d8
committed
Changed terminal_size() method in utils.jl to use Base.displaysize
method. Left terminal_size(io) unchanged. Flipped height and width for
displaysize return values. This fixes the "Inappropriate ioctl for
device" error when running in an interactive repl.1 parent b91bd4a commit ffd34d8
1 file changed
+8
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
10 | 17 | | |
11 | | - | |
12 | 18 | | |
13 | 19 | | |
14 | 20 | | |
| |||
0 commit comments