Skip to content

Enhancement: Make 'exit' Command Case-Insensitive #7

@jayambe36

Description

@jayambe36

Currently, the application only terminates if the user types "exit" in all lowercase. Users might type "Exit", "EXIT", or other variations. The application should handle the exit command in a case-insensitive manner to be more user-friendly.

This can be easily fixed by converting the user's input to lowercase before checking the command.

Please assign me this issue to submit this as a PR under the hacktoberfest, hacktoberfest2025, and hacktoberfest-accepted labels.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions