tCall displaysize on any platform - Granular.jl - Julia package for granular dynamics simulation
(HTM) git clone git://src.adamsgaard.dk/Granular.jl
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 3b565dd35137ec547b27d0e3e13a22f16b3ec11d
(DIR) parent e7d23b8e0cebeae6d6de6e8d8ba0b965c94f7b66
(HTM) Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Fri, 14 Sep 2018 11:42:42 +0200
Call displaysize on any platform
Diffstat:
M src/io.jl | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
---
(DIR) diff --git a/src/io.jl b/src/io.jl
t@@ -210,11 +210,7 @@ function status(folder::String=".";
if length(status_files) > 0
- if Sys.iswindows()
- cols = 80
- else
- cols = displaysize(stdout)[2]
- end
+ cols = displaysize(stdout)[2]
if write_header
for i=1:cols
print('-')