mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-07-17 01:42:45 +02:00
- **PR Description** It seems that setting TERM=dumb breaks compatibility with curses subprocess in Go, especially with `pinentry-curses` This fixes #3308
This commit is contained in:
@ -220,9 +220,6 @@ func (self *cmdObjRunner) runAndStreamAux(
|
|||||||
cmdObj ICmdObj,
|
cmdObj ICmdObj,
|
||||||
onRun func(*cmdHandler, io.Writer),
|
onRun func(*cmdHandler, io.Writer),
|
||||||
) error {
|
) error {
|
||||||
// if we're streaming this we don't want any fancy terminal stuff
|
|
||||||
cmdObj.AddEnvVars("TERM=dumb")
|
|
||||||
|
|
||||||
cmdWriter := self.guiIO.newCmdWriterFn()
|
cmdWriter := self.guiIO.newCmdWriterFn()
|
||||||
|
|
||||||
if cmdObj.ShouldLog() {
|
if cmdObj.ShouldLog() {
|
||||||
|
Reference in New Issue
Block a user