Skip to content

Commit

Permalink
Fix: empty command should continue
Browse files Browse the repository at this point in the history
  • Loading branch information
Raymo111 committed Jul 3, 2024
1 parent 8f33beb commit a3de9a2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions charachorder/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ def charachorder_shell(device: charachorder.CharaChorder) -> None:
while True:
try:
command = input("> ").split(" ")
if command == [""]:
continue
if command[0] == "exit":
break

try:
result = device._execute(*command)
Expand Down

0 comments on commit a3de9a2

Please sign in to comment.