mirror of
https://github.com/containers/podman.git
synced 2025-11-29 17:48:05 +08:00
Update module github.com/vbauerster/mpb/v8 to v8.11.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
This commit is contained in:
6
vendor/github.com/mattn/go-runewidth/runewidth_windows.go
generated
vendored
6
vendor/github.com/mattn/go-runewidth/runewidth_windows.go
generated
vendored
@@ -4,6 +4,7 @@
|
||||
package runewidth
|
||||
|
||||
import (
|
||||
"os"
|
||||
"syscall"
|
||||
)
|
||||
|
||||
@@ -14,6 +15,11 @@ var (
|
||||
|
||||
// IsEastAsian return true if the current locale is CJK
|
||||
func IsEastAsian() bool {
|
||||
if os.Getenv("WT_SESSION") != "" {
|
||||
// Windows Terminal always not use East Asian Ambiguous Width(s).
|
||||
return false
|
||||
}
|
||||
|
||||
r1, _, _ := procGetConsoleOutputCP.Call()
|
||||
if r1 == 0 {
|
||||
return false
|
||||
|
||||
Reference in New Issue
Block a user