class

PomodoroCr::Pomodoro

Inherits Reference < Object

Constructors

Instance methods

advance_state

Actually advances the state

Source
configure
Source
disable_alt_screen
Source
enable_alt_screen
Source
enter_action
Source
erase_screen
Source
get_new_config(kind : String, unit : String)
Source
get_user_input
Source
get_user_input
Source
handle_enter
Source
handle_user_input(c : Char | Nil)
Source
next_state

Returns the next state, but does not change it

Source
paused=(paused : Bool)
Source
paused?
Source
random_message(state : State)
Source
reset_cursor
Source
reset_timer(duration : Time::Span)
Source
time_remaining
Source
time_remaining=(time_remaining : Time::Span)
Source
update_timer
Source