Method: Manager#main_loop

Defined in:
lib/cless/cless.rb

#main_loopObject



158
159
160
161
162
163
164
165
166
167
# File 'lib/cless/cless.rb', line 158

def main_loop
  if @status.empty?
    @status = "Help? Press ~ or F1"
  end
  while !@done do
    @data.cache_fill(@display.nb_lines)
    @display.refresh
    wait_for_key or break
  end
end