Permalink
Browse files

Fixed tkn. Complete slides by simple form.

  • Loading branch information...
1 parent 3ca6f82 commit 632e8c6a0933f1a89e2f3e0d5ddeb2ae3b40bd6f @demiazz committed Dec 14, 2012
Showing with 832 additions and 1 deletion.
  1. +3 −1 bin/tkn
  2. +829 −0 examples/simple_form.rb
View
@@ -94,7 +94,9 @@ def render_center(content)
end
# Renders a section banner.
-def render_section(content)
+def render_section(raw_content)
+ content = " \e[1m#{raw_content}\e[0m "
+
nrows, ncols = winsize
width = width(content)
Oops, something went wrong.

0 comments on commit 632e8c6

Please sign in to comment.