Git Product home page Git Product logo

Comments (5)

themoken avatar themoken commented on August 15, 2024

I think you can already achieve this with a keybind:

:bind q remote kill & quit

from canto-next.

langner avatar langner commented on August 15, 2024

Oh well... I could set it, (and there needs to be a backslash before the ampersand), but it does'nt kill the daemon for some reason. Any idea?

from canto-next.

themoken avatar themoken commented on August 15, 2024

Looks like the message never makes it to the daemon because the connection closes too quickly. I'm not sure if this should be remedied with a wait 5 or something, or if this should be handled externally (i.e. canto-curses && canto-remote kill to invoke canto which does work)

from canto-next.

langner avatar langner commented on August 15, 2024

Right... I do achieve this currently externally, with this little script:

canto-daemon & canto-curses
kill `jobs -p`

Perhaps using canto-remote kill would be better, though. Maybe you could also add a little boolean option to make sure the daemon is killed before exit?

from canto-next.

themoken avatar themoken commented on August 15, 2024

In git I've added

:kill_daemon_on_exit = (True|False)

to enable this functionality.

EDIT: In canto-curses of course

from canto-next.

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.