Module: Tuile

Defined in:
lib/tuile.rb,
lib/tuile/keys.rb,
lib/tuile/rect.rb,
lib/tuile/size.rb,
lib/tuile/point.rb,
lib/tuile/screen.rb,
lib/tuile/version.rb,
lib/tuile/component.rb,
lib/tuile/event_queue.rb,
lib/tuile/fake_screen.rb,
lib/tuile/mouse_event.rb,
lib/tuile/screen_pane.rb,
lib/tuile/component/list.rb,
lib/tuile/component/label.rb,
lib/tuile/component/popup.rb,
lib/tuile/component/layout.rb,
lib/tuile/component/window.rb,
lib/tuile/fake_event_queue.rb,
lib/tuile/vertical_scroll_bar.rb,
lib/tuile/component/log_window.rb,
lib/tuile/component/text_field.rb,
lib/tuile/component/has_content.rb,
lib/tuile/component/info_window.rb,
lib/tuile/component/picker_window.rb

Overview

Tuile is a small component-oriented terminal UI framework, built on top of the TTY toolkit. The name is French for a roof tile — a small piece that composes into a larger whole, which mirrors how Tuile UIs are built from Components nested under a single Screen.

Defined Under Namespace

Modules: Keys Classes: Component, Error, EventQueue, FakeEventQueue, FakeScreen, MouseEvent, Point, Rect, Screen, ScreenPane, Size, VerticalScrollBar

Constant Summary collapse

VERSION =

Returns:

  • (String)
"0.1.0"

Class Attribute Summary collapse

Class Attribute Details

.loggerLogger

Returns:

  • (Logger)


30
31
32
# File 'lib/tuile.rb', line 30

def logger
  @logger ||= Logger.new(IO::NULL)
end