WolframResearch / WolframLanguageForJupyter

Wolfram Language kernel for Jupyter notebooks
MIT License
1.05k stars 126 forks source link

PageWidth option has no effect in jupyter-console #106

Open rpigott opened 3 years ago

rpigott commented 3 years ago

I like to use jupyter-console --kernel=wolframscript12 to access mathematica from my terminal, but there is persistent text wrapping around 80 or so chars regardless of my actual terminal width or PageWidth settings. I would like to turn it off, so I try SetOptions[$Output, PageWidth -> Infinity], but it has no effect.

I recently discovered I can disable the text wrapping in my console by substituting $defaultPageWidth = Infinity in Initialization.wl, so long as I never want to change it back to anything else.

Why does setting the PageWidth option from within the console have no effect? Is there something I can do besides editing Initialization.wl to change the PageWidth option?