diff options
| author | dam <dam@gudinoff> | 2023-09-23 11:03:40 +0100 |
|---|---|---|
| committer | dam <dam@gudinoff> | 2023-09-23 11:03:40 +0100 |
| commit | aa4550e5871ca3e21942f2f612666fd41f90eadb (patch) | |
| tree | 3f82e967a5db875248eb9a339323d13f4f843009 | |
| parent | 8b640d9e236641eefea93338e3a7092678e3c5e5 (diff) | |
| download | task-time-tracker-aa4550e5871ca3e21942f2f612666fd41f90eadb.tar.zst task-time-tracker-aa4550e5871ca3e21942f2f612666fd41f90eadb.zip | |
Added TODO comments.
| -rw-r--r-- | TUI/windows.jai | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/TUI/windows.jai b/TUI/windows.jai index 24dbece..84dd271 100644 --- a/TUI/windows.jai +++ b/TUI/windows.jai @@ -169,7 +169,9 @@ OS_read_input :: (mode: Input_Mode) -> string { if ReadConsoleA(stdin, temp.data, xx temp.count, *bytes_read) { // TODO If the number of bytes_read is equal to the buffer size... we may have some more data to read?! - // ---> To fix this, we should check the last read byte and see if it's a newline! + // ---> To fix this, we should check the last read byte and see if it's a newline (at least for HUMAN mode)! + + // TODO Maybe pass the input result in the temporary memory (unless specified otherwise)?! result.data = alloc(bytes_read); result.count = bytes_read; |
