diff options
author | pommicket <pommicket@gmail.com> | 2022-12-25 13:35:36 -0500 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2022-12-25 13:35:36 -0500 |
commit | f67094bce357a76334a717ed669b377d3b93d18e (patch) | |
tree | 6721170920a8d78d31a16a532e1e75c740d377d0 /lsp-write.c | |
parent | 1793fa40528295306d1d790074fdd8f382e8bef3 (diff) |
fix various problems from texlab test
Diffstat (limited to 'lsp-write.c')
-rw-r--r-- | lsp-write.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lsp-write.c b/lsp-write.c index 808f479..ef524d9 100644 --- a/lsp-write.c +++ b/lsp-write.c @@ -414,8 +414,8 @@ static void write_request(LSP *lsp, LSPRequest *request) { memcpy(header + strlen(header), "\r\n\r\n", 4); char *content = header; - #if 0 - printf("\x1b[1m%s\x1b[0m\n",content); + #if LSP_SHOW_C2S + printf("%s%s%s\n",term_bold(stdout),content,term_clear(stdout)); #endif // @TODO: does write always write the full amount? probably not. this should be fixed. |