Class: Tmux::Window::Status

Inherits:
Object
  • Object
show all
Defined in:
lib/tmux/window/status.rb,
lib/tmux/window/status/state.rb

Overview

the "tab" in the statusbar

Defined Under Namespace

Classes: State

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(window) ⇒ Status

Returns a new instance of Status.



13
14
15
16
17
18
# File 'lib/tmux/window/status.rb', line 13

def initialize(window)
  @window = window
  @normal  = State.new(@window,  :normal)
  @current = State.new(@window, :current)
  @alert   = State.new(@window,   :alert)
end

Instance Attribute Details

#alertState (readonly)

Returns:



12
13
14
# File 'lib/tmux/window/status.rb', line 12

def alert
  @alert
end

#currentState (readonly)

Returns:



10
11
12
# File 'lib/tmux/window/status.rb', line 10

def current
  @current
end

#normalState (readonly)

Returns:



8
9
10
# File 'lib/tmux/window/status.rb', line 8

def normal
  @normal
end