From bf6db6672971d672e832a40bf97948e6e87b3ced Mon Sep 17 00:00:00 2001 From: Brian Barto Date: Sun, 10 Apr 2016 18:43:36 -0400 Subject: [PATCH] Adding some TODO notes modified: src/nms.c --- src/nms.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/nms.c b/src/nms.c index 7cbc6bf..4017ebc 100644 --- a/src/nms.c +++ b/src/nms.c @@ -42,6 +42,8 @@ int main(void) { // Seed my random number generator with the current time srand(time(NULL)); + // TODO: what is the data piped is greater than the size of the terminal window? + // Geting input while ((c = getchar()) != EOF) { if (c == NEWLINE) { @@ -80,6 +82,8 @@ int main(void) { clearTermWindow(termSizeRows, termSizeCols); + // TODO: Data should initially 'type' itself on to the screen + // TODO: pause with getchar() - something about the input stream being redirected // to a file is causing getchar() to immediately return here.