Method: Blade::Runner::Tab#activate

Defined in:
lib/blade/interface/runner/tab.rb

#activateObject



140
141
142
143
144
145
146
147
148
149
150
151
152
# File 'lib/blade/interface/runner/tab.rb', line 140

def activate
  return if active?

  if tab = tabs.active
    tab.deactivate
  end

  self.active = true
  draw

  tabs.state_window.addstr(session.to_s)
  tabs.state_window.noutrefresh
end