diff options
| author | Jeff Carr <[email protected]> | 2025-09-21 20:48:34 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-09-21 20:48:34 -0500 |
| commit | 25f2b0fc358d280aec5366c1609433b56ee42f16 (patch) | |
| tree | 9b4b80ef24df12feffaf749c026294c61827e0b0 /questionUser.go | |
| parent | f6b19522c611b5fa96c056fb22cb8fe53d521317 (diff) | |
make it actually workv0.0.22
Diffstat (limited to 'questionUser.go')
| -rw-r--r-- | questionUser.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/questionUser.go b/questionUser.go index 3bba4ae..c212334 100644 --- a/questionUser.go +++ b/questionUser.go @@ -24,6 +24,10 @@ func QuestionUser(msg string) bool { case "n": return false default: + if strings.HasPrefix(line, "y") { + return true + } + return false } } return false |
