Git Product home page Git Product logo

Comments (3)

joouha avatar joouha commented on May 25, 2024

Thanks! And thanks for reporting this.

It seems that the terminal cursor is being left hidden when euporie exits, which shouldn't be happening.

When you exit tmux, it will set the terminal cursor to visible, which is done using a DECTCEM escape sequence. You could also set the cursor to visible with the following:

echo -e "\e[25h"

In prompt_toolkit (which euporie uses to interact with the terminal), the renderer should show the cursor when the application exits (here). But for some reason this does not seem to be working.

I shall investigate further!

from euporie.

joouha avatar joouha commented on May 25, 2024

I've found the problem - I had erase_when_done set to True for the notebook app. It looks like prompt_toolkit will not reset the terminal if an application is full-screen and erase_when_done is set to True. I reckon this is a bug in prompt_toolkit - I think erase_when_done should be ignored for full-screen applications. I've sumitted a PR for this upstream.

I the mean-time, I've fixed this by setting erase_when_done to False in euporie-notebook. If you'd like to test this fix in v2.0.3, I'd be grateful to hear if this has sorted the problem for you.

from euporie.

remifan avatar remifan commented on May 25, 2024

Thanks for this quick fix! This problem is solved in the v2.0.5 release

from euporie.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.