From 47d309f5c250f00fc5effb1df758ab0a4efe7c17 Mon Sep 17 00:00:00 2001 From: elliottcable Date: Fri, 13 Mar 2009 13:52:37 -0400 Subject: [PATCH] Better documented `Window#on_key` --- lib/nfoiled/window.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/nfoiled/window.rb b/lib/nfoiled/window.rb index f18a348..dd17cef 100644 --- a/lib/nfoiled/window.rb +++ b/lib/nfoiled/window.rb @@ -76,6 +76,9 @@ module Nfoiled end ## + # Defines a block that controls how the global input loop from + # `Nfoiled::read!` handles input when this window has focus. + # # This acts as both a getter & setter, depending on whether a block is # passed in or not. def on_key -- 2.11.4.GIT