diff options
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. |