Skip to content

Commit

Permalink
Optimize highlighting
Browse files Browse the repository at this point in the history
  • Loading branch information
Ex-Origin committed Apr 6, 2022
1 parent cbd8e72 commit 3337435
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions main.c
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ int handle_file_IO(int pid, struct ptrace_syscall_info *info)
node_count++;
if(tty_status == TTY_WORKED)
{
printf("\033[1;32m[TRACE INFO]: %s\033[0m\n", path);
printf("[TRACE INFO]: \033[1;32m%s\033[0m\n", path);
}
else
{
Expand Down Expand Up @@ -240,7 +240,7 @@ int handle_execve(int pid, struct ptrace_syscall_info *info)
{
if(tty_status == TTY_WORKED)
{
printf("\033[1;32m[TRACE INFO]: %s\033[0m\n", args_lists[i]);
printf("[TRACE INFO]: \033[1;32m%s\033[0m\n", args_lists[i]);
}
else
{
Expand All @@ -251,7 +251,7 @@ int handle_execve(int pid, struct ptrace_syscall_info *info)
{
if(tty_status == TTY_WORKED)
{
printf("\033[1;32m[TRACE INFO]: %s ", args_lists[i]);
printf("[TRACE INFO]: \033[1;32m%s ", args_lists[i]);
}
else
{
Expand Down

0 comments on commit 3337435

Please sign in to comment.