Fix ANSI escapes (on Windows) not being interpreted after using GPG pinentry

This commit is contained in:
2024-07-17 18:54:29 -04:00
parent 1bf72332df
commit df5f10d188
7 changed files with 32 additions and 10 deletions
+6
View File
@@ -12,3 +12,9 @@ const (
PathSeparator = "/"
IsWindows = false
)
// enableVirtualTerminalProcessing is a dummy function on UNIX-like systems (only needed on Windows)
// TODO remove after migration off of GPG, as pinentry is responsible for disabling ANSI escape sequence interpretation
func enableVirtualTerminalProcessing() {
return
}