Skip to content

Commit 9b049ec

Browse files
Merge pull request #175 from bmad-sim/newshow
Newshow
2 parents 17bfbb8 + 4d761c3 commit 9b049ec

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "GTPSA"
22
uuid = "b27dd330-f138-47c5-815b-40db9dd9b6e8"
33
authors = ["Matt Signorelli"]
4-
version = "1.5.0"
4+
version = "1.5.1"
55

66
[deps]
77
GTPSA_jll = "a4739e29-4b97-5c0b-bbcf-46f08034c990"

src/show.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ function show_vec(io, m::AbstractArray{<:TPS{T,D}}) where {T,D}
134134
@sprintf(" %2i: %s", i, line)
135135
end
136136

137-
if lines_used + length(lines) > displaysize(io)[1]-4
137+
if get(io, :limit, false) && lines_used + length(lines) > displaysize(io)[1]-4
138138
oversized=true
139139
#@show lines_used
140140
#@show lines_used-(displaysize(io)[1]-6)

0 commit comments

Comments
 (0)