From 45c7f4afdda6ac975240f088d68e021317a9ef70 Mon Sep 17 00:00:00 2001 From: elliottcable Date: Sun, 8 Mar 2009 13:18:39 -0800 Subject: [PATCH] Added `Window#print` --- lib/nfoiled/window.rb | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/nfoiled/window.rb b/lib/nfoiled/window.rb index fd9c5cf..baa13af 100644 --- a/lib/nfoiled/window.rb +++ b/lib/nfoiled/window.rb @@ -43,6 +43,12 @@ module Nfoiled end ## + # Prints a string to the window + def print string + @wrapee.printw string + end + + ## # Destroys the `wrapee` of this `Window`, and removes this `Window` # from its owning `Terminal`'s `#windows`. def destroy! -- 2.11.4.GIT