feat: add green color for replies and cyan for reblog comments

This commit is contained in:
jim
2026-05-05 17:43:48 -05:00
parent abdfe30203
commit 9589a9c090
+6
View File
@@ -497,7 +497,10 @@ namespace URLNotesGrabberCORE
string displayText = note.reply_text.Length > 100 string displayText = note.reply_text.Length > 100
? note.reply_text.Substring(0, 100) + "..." ? note.reply_text.Substring(0, 100) + "..."
: note.reply_text; : note.reply_text;
var previousColor = Console.ForegroundColor;
Console.ForegroundColor = ConsoleColor.Green;
Console.WriteLine($" [{note.blog_name}] {displayText}"); Console.WriteLine($" [{note.blog_name}] {displayText}");
Console.ForegroundColor = previousColor;
} }
else else
{ {
@@ -515,7 +518,10 @@ namespace URLNotesGrabberCORE
string displayText = note.reply_text.Length > 100 string displayText = note.reply_text.Length > 100
? note.reply_text.Substring(0, 100) + "..." ? note.reply_text.Substring(0, 100) + "..."
: note.reply_text; : note.reply_text;
var previousColor = Console.ForegroundColor;
Console.ForegroundColor = ConsoleColor.Cyan;
Console.WriteLine($" [{note.blog_name}] {displayText} (reblog comment)"); Console.WriteLine($" [{note.blog_name}] {displayText} (reblog comment)");
Console.ForegroundColor = previousColor;
} }
} }