Opening git commit works properly now

This commit is contained in:
Krzosa Karol
2024-08-08 08:01:49 +02:00
parent 080669b5e9
commit bfff188726
6 changed files with 41 additions and 19 deletions

View File

@@ -1106,6 +1106,18 @@ struct Scratch {
Scratch(Scratch &arena, Scratch &a2);
};
struct RandomSeed {
uint64_t a;
};
inline uint64_t GetRandomU64(RandomSeed *state) {
uint64_t x = state->a;
x ^= x << 13;
x ^= x >> 7;
x ^= x << 17;
return state->a = x;
}
//
// Implementation
//

View File

@@ -40,11 +40,13 @@ struct StdoutPollInfo {
};
struct Process {
bool is_valid;
String error_message;
int exit_code;
bool is_valid;
String error_message;
int exit_code;
char platform[6 * 8];
int64_t view_id; // text editor view
char platform[6 * 8];
bool scroll_to_end;
};
Process CreateCommandLineProcess(String command_line, String working_dir);