benthayer / benthayer/git-gud

"git gud explain": Do not accept user input other than ENTER

Open
#332 8 comments 0 reactions 0 assignees View on GitHub
enhancement good first issue
Dominant language
Python
Stars
558
Forks
53
PR merge metrics
No merged PRs in 30d

Description

Go to `util/level_builder.py` in the function `BasicLevel.explain()` to fix this.

Basically `git gud explain` waits for the user to hit enter, but they can also type anything they want because we use `input` and not something more advanced. This could mess up input or simply make it more confusing for a user, with them possibly thinking they're typing into a command line.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.