Stop input on '.'

This commit is contained in:
Romain Goyet
2015-09-02 22:03:24 +02:00
parent b84831bf76
commit e89ffec307

View File

@@ -21,7 +21,7 @@ void hello() {
int index = 0;
while (1) {
char character = ion_getchar();
if (character == 'X') {
if (character == '.') {
input[index] = 0;
index = 0;
CreateFromString(input);