GithubHelp home page GithubHelp logo

Comments (9)

Marco-Sulla avatar Marco-Sulla commented on May 28, 2024 1

The problem is different in ConEmu. In ConEmu, git log stucks and git reflog prints the output under the console, and it also stucks.

On cmder, git log works. git reflog shows as expected but does not quit.

cat file | less works. The problem arise with some git less-like commands.

I'll try to run Cmder without ConEmu.

from cmder.

DRSDavidSoft avatar DRSDavidSoft commented on May 28, 2024

Can you please share a recording of this behavior, and the behavior of plain ConEmu or conhost.exe?

If you are certain you can narrow it down to less, please use a command like cat longfile.txt | less instead of git reflog to produce the issue for tests.

Additionally, please run Cmder without ConEmu and attempt to repro the issue:
https://github.com/cmderdev/cmder/wiki/Cmder's-shell-in-other-terminals

from cmder.

Marco-Sulla avatar Marco-Sulla commented on May 28, 2024

Additionally, please run Cmder without ConEmu and attempt to repro the issue:
https://github.com/cmderdev/cmder/wiki/Cmder's-shell-in-other-terminals

I run it and the problem still remains. After q is pressed, the control is not returned to the console and the console is stucked; I have to close it and relaunch.

from cmder.

DRSDavidSoft avatar DRSDavidSoft commented on May 28, 2024

@Marco-Sulla Can you also please test Cmder's PowerShell profile? Thanks

from cmder.

Marco-Sulla avatar Marco-Sulla commented on May 28, 2024

git integration in the prompt is much slower, but git reflog work as expected in a cmder's powershell console.

from cmder.

chrisant996 avatar chrisant996 commented on May 28, 2024

@Marco-Sulla I wonder if you might be running into a variation of the MSYS issue described in #2670 and Maximus5/ConEmu#2520.

Some things to try:

  • Does the problem go away if you disable ConEmuHk injection?
  • If you run locale.exe in a different tab in ConEmu, does that un-stick the tab that got stuck?

The issue is most likely a problem either in ConEmu or in git for Windows (or more specifically, the MSYS library used by git for Windows).

from cmder.

Marco-Sulla avatar Marco-Sulla commented on May 28, 2024
  • Does the problem go away if you disable ConEmuHk injection?
  • If you run locale.exe in a different tab in ConEmu, does that un-stick the tab that got stuck?

How can I do that?

Notice anyway that the behavior of the issue under ConEmu and cmder is different.

from cmder.

chrisant996 avatar chrisant996 commented on May 28, 2024

disable conemuhk injection

Also ConEmu issue 1510 describes the same kind of hanging in git and suggests that turning off conemuhk injection may help.

And one of the comments there says that another issue suggested turning off "long console output" resolves the hang (and has a screen shot for how to do so).

from cmder.

Marco-Sulla avatar Marco-Sulla commented on May 28, 2024

I can't reproduce it anymore. WFM.

from cmder.

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.