whitespace
This commit is contained in:
@@ -1,8 +1,6 @@
|
|||||||
defmodule Display.Paint do
|
defmodule Display.Paint do
|
||||||
def red(str), do: painter().red(str)
|
def red(str), do: painter().red(str)
|
||||||
|
|
||||||
def cyan(str), do: painter().cyan(str)
|
def cyan(str), do: painter().cyan(str)
|
||||||
|
|
||||||
def green(str), do: painter().green(str)
|
def green(str), do: painter().green(str)
|
||||||
|
|
||||||
defp painter do
|
defp painter do
|
||||||
@@ -17,9 +15,7 @@ defmodule Display.Colours do
|
|||||||
alias IO.ANSI
|
alias IO.ANSI
|
||||||
|
|
||||||
def red(str), do: colourize(ANSI.red, str)
|
def red(str), do: colourize(ANSI.red, str)
|
||||||
|
|
||||||
def cyan(str), do: colourize(ANSI.cyan, str)
|
def cyan(str), do: colourize(ANSI.cyan, str)
|
||||||
|
|
||||||
def green(str), do: colourize(ANSI.green, str)
|
def green(str), do: colourize(ANSI.green, str)
|
||||||
|
|
||||||
defp colourize(color, message) do
|
defp colourize(color, message) do
|
||||||
|
|||||||
Reference in New Issue
Block a user