tCall displaysize on any platform - Granular.jl - Julia package for granular dy… | |
git clone git://src.adamsgaard.dk/Granular.jl | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 3b565dd35137ec547b27d0e3e13a22f16b3ec11d | |
parent e7d23b8e0cebeae6d6de6e8d8ba0b965c94f7b66 | |
Author: Anders Damsgaard <[email protected]> | |
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(-) | |
--- | |
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('-') |