Adding some TODO notes
modified: src/nms.c
This commit is contained in:
parent
008f93c298
commit
bf6db66729
@ -42,6 +42,8 @@ int main(void) {
|
|||||||
// Seed my random number generator with the current time
|
// Seed my random number generator with the current time
|
||||||
srand(time(NULL));
|
srand(time(NULL));
|
||||||
|
|
||||||
|
// TODO: what is the data piped is greater than the size of the terminal window?
|
||||||
|
|
||||||
// Geting input
|
// Geting input
|
||||||
while ((c = getchar()) != EOF) {
|
while ((c = getchar()) != EOF) {
|
||||||
if (c == NEWLINE) {
|
if (c == NEWLINE) {
|
||||||
@ -80,6 +82,8 @@ int main(void) {
|
|||||||
|
|
||||||
clearTermWindow(termSizeRows, termSizeCols);
|
clearTermWindow(termSizeRows, termSizeCols);
|
||||||
|
|
||||||
|
// TODO: Data should initially 'type' itself on to the screen
|
||||||
|
|
||||||
// TODO: pause with getchar() - something about the input stream being redirected
|
// TODO: pause with getchar() - something about the input stream being redirected
|
||||||
// to a file is causing getchar() to immediately return here.
|
// to a file is causing getchar() to immediately return here.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user