Skip to content
This repository has been archived by the owner on Dec 27, 2022. It is now read-only.

Commit

Permalink
在选择 WSL linux distro 时支持直接按回车
Browse files Browse the repository at this point in the history
  • Loading branch information
riag committed Jan 11, 2019
1 parent 8dc3cef commit 42c39a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion launcher/wsltty-launcher.go
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ func choose_distro(argv *argT, config *LauncherConfig) int {
var input string
fmt.Scanln(&input)
if len(input) == 0 {
continue
return 0
}

choice, err := strconv.Atoi(input)
Expand Down

0 comments on commit 42c39a2

Please sign in to comment.