scala.Consoleを使うと文字に色をつけることができます。 import scala.Console._ println(BLUE + "僕" + RESET + "は" + CYAN + "友達" + RESET + RED_B + "が" + YELLOW + "少" + RESET + RED_B + "ない" + RESET) RESET付けないとその後の出力もずっとそ…
Quote saved.
Login to quote this blog
Failed to save quote. Please try again later.
You cannot quote because this article is private.