fix geadline

This commit is contained in:
kdx
2023-07-26 12:53:38 +02:00
parent cc965024d6
commit 4bd9f50bd4
3 changed files with 4 additions and 11 deletions

View File

@ -1,3 +1,3 @@
yo
bozo
z^[[Dbo^[[C^[[C^[[Co
zboo

View File

@ -6,17 +6,13 @@ main()
ptr = geadline("");
test_str(ptr, "yo", "");
free(ptr);
ptr = geadline("");
test_str(ptr, "bozo", "");
free(ptr);
ptr = geadline("");
test_str(ptr, "bozo", "arrow");
free(ptr);
ptr = geadline("");
test_num(ptr, 0, "");
free(ptr);
}