Code Monkey home page Code Monkey logo

Comments (2)

malxau avatar malxau commented on July 26, 2024

Can I ask which version of Windows Terminal you have, and which version of Yori you have? I've been trying to reproduce this, so far without success.

What I've tried:

  • With WT 0.10.761.0 and 0.9.433.0
  • With Yori 1.20 and the current testing build
  • Copied Scott's profile. (I had to remove the color scheme, but that seems unlikely to be related)
  • Ran ping and hit both Ctrl+C and Ctrl+Break

I haven't been able to observe this behavior at all. Can you think of anything else that I can try?

One challenging case in Yori that may be related but I don't see it doing quite the same thing is nested shells. Yori first asks child processes nicely to die, and if they don't, it's willing to terminate them. This is frequently nice from a user's point of view, but when nested instances are present it can end up killing a child instance. But getting the output you showed here would require a parent instance that launches a child instance for interactive use and the parent will terminate as soon as the child terminates (ie., yori /c yori type thing.)

from yori.

igitur avatar igitur commented on July 26, 2024

Ah, yes, it was a nested instance, but not deliberately. I had installed yori via the scoop package manager, which executes yori via a shim layer. I now changed my Windows Terminal to execute the underlying yori.exe directly and that solves my problem. Thanks so much.

from yori.

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.