feat: add green color for replies and cyan for reblog comments
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user