| ... | @@ -213,9 +213,9 @@ pub const ChildProcess = struct { | ... | @@ -213,9 +213,9 @@ pub const ChildProcess = struct { |
| 213 | self.term = (%Term)({ | 213 | self.term = (%Term)({ |
| 214 | var exit_code: windows.DWORD = undefined; | 214 | var exit_code: windows.DWORD = undefined; |
| 215 | if (windows.GetExitCodeProcess(self.handle, &exit_code) == 0) { | 215 | if (windows.GetExitCodeProcess(self.handle, &exit_code) == 0) { |
| 216 | Term.Unknown{0} | 216 | Term { .Unknown = 0 } |
| 217 | } else { | 217 | } else { |
| 218 | Term.Exited {@bitCast(i32, exit_code)} | 218 | Term { .Exited = @bitCast(i32, exit_code)} |
| 219 | } | 219 | } |
| 220 | }); | 220 | }); |
| 221 | | 221 | |