Skip to content

Commit 2989cc1

Browse files
committed
rows and cols to display should not depend on terminal where IJulia kernel is started; pick a sensible default (see JuliaLang/julia#4117)
1 parent f6be30b commit 2989cc1

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/kernel.jl

+5
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@ using IJulia
88

99
ccall(:jl_install_sigint_handler, Void, ())
1010

11+
# the size of truncated output to show should not depend on the terminal
12+
# where the kernel is launched, since the display is elsewhere
13+
ENV["LINES"] = 30
14+
ENV["COLUMNS"] = 80
15+
1116
println(IJulia.orig_STDOUT, "Starting kernel event loops.")
1217
IJulia.watch_stdio()
1318
for sock in (IJulia.requests, IJulia.control)

0 commit comments

Comments
 (0)