summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Haller <stefan@haller-berlin.de>2024-04-09 09:07:44 +0200
committerGitHub <noreply@github.com>2024-04-09 09:07:44 +0200
commitfab7ca2b58e9d4c60847f7a6d67e2124db9e94c4 (patch)
tree3c118f5b715e6a26ecc19f8f463e24522601b4da
parent426375b7cdc6727a49a5caab051b82b00babbdc2 (diff)
parent7b0e06d88530d1a9b7dfcf2f8393be0f23c351ee (diff)
Fix issue #3308 (#3478)
- **PR Description** It seems that setting TERM=dumb breaks compatibility with curses subprocess in Go, especially with `pinentry-curses` This fixes #3308
-rw-r--r--pkg/commands/oscommands/cmd_obj_runner.go3
1 files changed, 0 insertions, 3 deletions
diff --git a/pkg/commands/oscommands/cmd_obj_runner.go b/pkg/commands/oscommands/cmd_obj_runner.go
index 23ec47070..296850e32 100644
--- a/pkg/commands/oscommands/cmd_obj_runner.go
+++ b/pkg/commands/oscommands/cmd_obj_runner.go
@@ -220,9 +220,6 @@ func (self *cmdObjRunner) runAndStreamAux(
cmdObj ICmdObj,
onRun func(*cmdHandler, io.Writer),
) error {
- // if we're streaming this we don't want any fancy terminal stuff
- cmdObj.AddEnvVars("TERM=dumb")
-
cmdWriter := self.guiIO.newCmdWriterFn()
if cmdObj.ShouldLog() {