module

Bubbletea

Re-export the Tea module as Bubbletea for compatibility

Constants

KEY_NAMES = Tea::KEY_NAMES
ModAlt = Ultraviolet::ModAlt
ModCapsLock = Ultraviolet::ModCapsLock
ModCtrl = Ultraviolet::ModCtrl
ModHyper = Ultraviolet::ModHyper
ModMeta = Ultraviolet::ModMeta
ModNumLock = Ultraviolet::ModNumLock
ModScrollLock = Ultraviolet::ModScrollLock
ModShift = Ultraviolet::ModShift

KeyMod constants (from mod.go)

ModSuper = Ultraviolet::ModSuper
VERSION = Tea::VERSION

Constants

Instance methods

[](value)
Source
alt_screen
Source
batch(commands : Enumerable(Bubbletea::Cmd | Nil))
Source
batch(*commands)
Source
clear_screen
Source
disable_mouse
Source
enable_mouse
Source
every(duration, fn : Time -> Tea::Msg | Nil)
Source
exec(cmd, callback = nil)

Exec functions

Source
exec_process(command, args = [] of String, callback = nil)
Source
exec_shell(command, callback = nil)
Source
exit_alt_screen
Source
hide_cursor
Source
interrupt
Source
key(rune_or_type, modifiers = 0)
Source
mouse_click(x, y, button = Ultraviolet::MouseButton::Left)
Source
mouse_motion(x, y)
Source
mouse_release(x, y, button = Ultraviolet::MouseButton::Left)
Source
mouse_wheel(x, y, direction)
Source
new_program(model, *options)
Source
printf(template, *args)
Source
println(*args)
Source
quit
Source
read_clipboard
Source
read_primary_clipboard
Source
sequence(commands : Enumerable(Bubbletea::Cmd | Nil))
Source
sequence(commands : Enumerable)
Source
sequence(*commands)
Source
sequentially(commands : Enumerable(Bubbletea::Cmd | Nil))
Source
sequentially(commands : Enumerable)
Source
sequentially(*commands)
Source
set_clipboard(content)

Clipboard functions ameba:disable Naming/AccessorMethodName

Source
set_primary_clipboard(content)

ameba:disable Naming/AccessorMethodName

Source
set_window_title(title)

ameba:disable Naming/AccessorMethodName

Source
show_cursor
Source
suspend
Source
tick(duration, fn : Time -> Tea::Msg | Nil)
Source
window_size
Source
with_alt_screen
Source
with_context(ctx)
Source
with_filter
Source
with_fps(fps)
Source
with_mouse_all_motion
Source
with_mouse_cell_motion
Source
with_report_focus
Source
without_input
Source
without_renderer
Source
wrap(value)

Delegate functions

Source

Nested types