@@ -91,9 +91,7 @@ defmodule Chr.Print do
9191 count_stringify ( 5 , count |> Integer . to_string ( ) , command )
9292 end )
9393 |> Enum . join ( "\n " )
94- # FIXME: Owl's bug: right border malposition when title has emoji
95- # |> print_count_number("🏆 Top Commands", :red)
96- |> print_count_number ( "Top Commands" , :red )
94+ |> print_count_number ( "🏆 Top Commands" , :red )
9795 end
9896
9997 @ doc """
@@ -106,8 +104,7 @@ defmodule Chr.Print do
106104 count_stringify ( 5 , count |> Integer . to_string ( ) , directory )
107105 end )
108106 |> Enum . join ( "\n " )
109- # |> print_count_number("📂 Top Directories", :red, 5)
110- |> print_count_number ( "Top Directories" , :red )
107+ |> print_count_number ( "📂 Top Directories" , :red , 5 )
111108 end
112109
113110 defp busiest_day_stringify ( { day , count } ) do
@@ -121,8 +118,7 @@ defmodule Chr.Print do
121118 histories
122119 |> Chr . busiest_day ( )
123120 |> busiest_day_stringify ( )
124- # |> print_count_number("💦 Busiest Day", :green)
125- |> print_count_number ( "Busiest Day" , :green )
121+ |> print_count_number ( "💦 Busiest Day" , :green )
126122 end
127123
128124 @ doc """
@@ -135,8 +131,7 @@ defmodule Chr.Print do
135131 percent_stringify ( day , count )
136132 end )
137133 |> Enum . join ( "\n " )
138- # |> print_count_bar("📅 Weekly Activity", :yellow)
139- |> print_count_bar ( "Weekly Activity" , :yellow )
134+ |> print_count_bar ( "📅 Weekly Activity" , :yellow )
140135 end
141136
142137 @ doc """
@@ -149,8 +144,7 @@ defmodule Chr.Print do
149144 percent_stringify ( hour , count )
150145 end )
151146 |> Enum . join ( "\n " )
152- # |> print_count_bar("🕑 Daily Activity", :magenta)
153- |> print_count_bar ( "Daily Activity" , :magenta )
147+ |> print_count_bar ( "🕑 Daily Activity" , :magenta )
154148 end
155149
156150 @ doc """
0 commit comments