lib/reterm/window.rb
# Clear window by removing all children and reinitializing window space
Clear window by removing all children and reinitializing window space
Clear window by removing all children and reinitializing window space
def clear!
      children.each { |c|
        del_child(c)
      }
      @children = []
      erase
    end
def clear! children . each { | c | del_child ( c ) } @children = [ ] erase end
Clear window by removing all children and reinitializing window space
Clear window by removing all children and reinitializing window space