8// SupportsProgressBar tries to determine whether the current terminal supports
9// progress bars by looking into environment variables.
10func SupportsProgressBar() bool {
11 termProg := os.Getenv("TERM_PROGRAM")
12 _, isWindowsTerminal := os.LookupEnv("WT_SESSION")
14 return isWindowsTerminal || strings.Contains(strings.ToLower(termProg), "ghostty")
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list