Browse Source

Change `<` to `<=`

gingerBill 3 years ago
parent
commit
0e5c7e08fc
1 changed files with 1 additions and 1 deletions
  1. 1 1
      core/os/file_windows.odin

+ 1 - 1
core/os/file_windows.odin

@@ -130,7 +130,7 @@ read_console :: proc(handle: win32.HANDLE, b: []byte) -> (n: int, err: Errno) {
 			b[n] = x
 			b[n] = x
 			n += 1
 			n += 1
 		}
 		}
-		if ctrl_z || single_read_length < max_read {
+		if ctrl_z || single_read_length <= max_read {
 			break
 			break
 		}
 		}
 	}
 	}