atom-julia-client icon indicating copy to clipboard operation
atom-julia-client copied to clipboard

“clear” command deletes history

Open fbruetting opened this issue 7 years ago • 7 comments

Pressing Ctrl + L clears the history in the terminal. This normally leads to the previous output being shifted upwards so that you can scroll back an see what happened before. However, this content gets deleted instead, so we cannot see the previous output.

julia-client v0.7.7
uber-juno v0.2.0
Atom v1.31.1

fbruetting avatar Oct 04 '18 13:10 fbruetting

What OS are you using? I can't repro this issue on Linux.

pfitzseb avatar Oct 04 '18 15:10 pfitzseb

Fedora 28 (in Tilix this works fine, for example, so shouldn’t be due to Julia).

screencast.zip

fbruetting avatar Oct 04 '18 16:10 fbruetting

Hm, I seem to not have paid close enough attention when I tried this yesterday. I can repro this now (doesn't even require Julia, just echo '\e[1;1H\e[2J' is enough). This appears to be a bug in the terminal emulator we use. I'll investigate and open an issue upstream.

pfitzseb avatar Oct 05 '18 08:10 pfitzseb

Today I encountered more issues with the terminal. For example when you ;git diff something and scroll through the output, you should see some artifacts of disappearing and flickering code; and when you scroll up, there are even more artifacts as then some portions of the diff is missing or strangely modified.

Could that terminal be reset to a previous, hopefully more stable version?

fbruetting avatar Oct 08 '18 11:10 fbruetting

Can you try with the newest ink version? I can't see any artifacts in git diff or similar commands. You might also want to try playing around with the fallback renderer option in julia-client.

pfitzseb avatar Oct 08 '18 18:10 pfitzseb

With ink v0.9.11 the bug still persists, with fallback renderer activated this gets solved. Does that fallback renderer lead to any downsides?

fbruetting avatar Oct 10 '18 11:10 fbruetting

Might be a bit slower, but otherwise it should be fine.

pfitzseb avatar Oct 10 '18 12:10 pfitzseb