diff options
author | pommicket <pommicket@gmail.com> | 2023-01-07 22:32:59 -0500 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2023-01-07 22:32:59 -0500 |
commit | 01d5fcc72f6ea29d0f90b845b7565137e7daac14 (patch) | |
tree | 39346ae60c418345612ad6c6634943cc630d713d /build.c | |
parent | cb55279a20865fcfde23a160233155d23a09a03b (diff) |
fix tags go-to-definition menu, silence errors for LSP not found
Diffstat (limited to 'build.c')
-rw-r--r-- | build.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -301,12 +301,12 @@ void build_frame(Ted *ted, float x1, float y1, float x2, float y2) { buffer_scroll_to_cursor(buffer); } - char message[64]; - int status = process_check_status(&ted->build_process, message, sizeof message); + ProcessExitInfo info = {0}; + int status = process_check_status(&ted->build_process, &info); if (status == 0) { // hasn't exited yet } else { - buffer_insert_utf8_at_cursor(buffer, message); + buffer_insert_utf8_at_cursor(buffer, info.message); buffer_insert_utf8_at_cursor(buffer, "\n"); if (!build_run_next_command_in_queue(ted)) { ted->building = false; |