queryverse / ElectronDisplay.jl

An Electron.jl based figure and table display.
Other
85 stars 17 forks source link

turn off ElectronDisplay #91

Open lewisl opened 2 years ago

lewisl commented 2 years ago

Let's say in a session you want some output: using ElectronDisplay # easy as Apple Pie

Then, you don't. There is no way to stop the output going to ElectronDisplay.

Sorry if this seems like a very basic requirement. Ending the Julia session doesn't seem like a good approach.

Generally, have the powers-that-be (whoever they may be) decided that output from the REPL in graphical environment OSes (Windows, MacOS) is deprecated in favor of IDE-like environments (VS Code, Jupyter et al)? It's probably OK (always some loose ends, but they eventually get tied) but might be nice to just say so...

zsunberg commented 2 years ago

You can use popdisplay to turn it off. Moreover pushdisplay can be used to turn it back on again by changing the display stack.

lewisl commented 2 years ago

Thank you! Where would I have found this? Just checked the readme for the repo and didn’t see it.

From: Zachary Sunberg @.> Reply-To: "queryverse/ElectronDisplay.jl" @.> Date: Friday, November 12, 2021 at 8:28 AM To: "queryverse/ElectronDisplay.jl" @.> Cc: Lewis Levin @.>, Author @.***> Subject: Re: [queryverse/ElectronDisplay.jl] turn off ElectronDisplay (Issue #91)

You can use popdisplay to turn it off. Moreover pushdisplay can be used to turn it back on again by changing the display stack.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/queryverse/ElectronDisplay.jl/issues/91#issuecomment-967246679, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAIYWLOT5CTRCC5YKOD53S3ULU6EHANCNFSM5H5GGW6Q.

zsunberg commented 2 years ago

https://docs.julialang.org/en/v1/base/io-network/#Multimedia-I/O