Granular.jl

Julia package for granular dynamics simulation
git clone git://src.adamsgaard.dk/Granular.jl
Log | Files | Refs | README | LICENSE

commit e7d23b8e0cebeae6d6de6e8d8ba0b965c94f7b66
parent 62c188870d0004c67b688982b48c0eecaaab31b9
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Thu, 13 Sep 2018 12:43:38 +0200

Use Julia-native displaysize() instead of shelling to tput (thx @andreasnoack)

Diffstat:
Msrc/io.jl | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/io.jl b/src/io.jl @@ -213,7 +213,7 @@ function status(folder::String="."; if Sys.iswindows() cols = 80 else - cols = parse(Int, read(`tput cols`, String)) + cols = displaysize(stdout)[2] end if write_header for i=1:cols