mirror of
https://github.com/i3/i3.git
synced 2026-02-04 22:55:37 +00:00
i3-msg: include newline at the end of the reply
This commit is contained in:
@ -245,7 +245,7 @@ int main(int argc, char *argv[]) {
|
||||
uint32_t reply_length;
|
||||
uint8_t *reply;
|
||||
ipc_recv_message(sockfd, message_type, &reply_length, &reply);
|
||||
printf("%.*s", reply_length, reply);
|
||||
printf("%.*s\n", reply_length, reply);
|
||||
free(reply);
|
||||
|
||||
close(sockfd);
|
||||
|
||||
Reference in New Issue
Block a user