Module Expr Str ImportFrom alias alias alias alias alias Import alias ImportFrom alias alias Assign NameStore Call AttributeLoad NameLoad attr NameLoad ClassDef bases AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam NameParam defaults NameLoad kwarg body If UnaryOpNot NameLoad body Raise Call NameLoad Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults vararg body Assign NameStore Dict Str AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults vararg body For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body TryExcept body If CompareNotEq SubscriptLoad NameLoad Index NameLoad SubscriptLoad NameLoad Index NameLoad body Return NameLoad handlers ExceptHandler type NameLoad body Return NameLoad Return NameLoad decorator_list Return SubscriptLoad Call NameLoad Call NameLoad NameLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults vararg kwarg body Expr Str If UnaryOpNot Call NameLoad GeneratorExp Call AttributeLoad NameLoad attr Str comprehension NameStore NameLoad body Assign NameStore BinOpAdd TupleLoad Str Call AttributeLoad NameLoad attr Str NameLoad Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str Expr Call AttributeLoad NameLoad attr Str BinOpAdd Str NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Str Str decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str Return Call AttributeLoad AttributeLoad NameLoad attr attr keyword Call AttributeLoad NameLoad attr Str keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Expr Str If CompareIn Str NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str BinOpMod Str Call NameLoad SubscriptLoad NameLoad Index Str orelse If CompareIn Str NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str BinOpMod Str Call NameLoad SubscriptLoad NameLoad Index Str orelse Assign NameStore Call AttributeLoad NameLoad attr Str SubscriptLoad NameLoad Index Num If AttributeLoad NameLoad attr body Raise Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Return BinOpMod Str TupleLoad AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr decorator_list decorator_list
N/A N/A Pythonization of the :ref:`tmux(1)` pane.

tmuxp.pane
~~~~~~~~~~

 __future__ absolute_import division print_function with_statement unicode_literals N/A logging N/A util exc N/A logger N/A N/A logging getLogger __name__ Pane N/A N/A util TmuxMappingObject N/A util TmuxRelationalObject N/A N/A :term:`tmux(1)` :term:`pane`.

    :param window: :class:`Window`

    :versionchanged: 0.8
        Renamed from ``.tmux`` to ``.cmd``.

     __init__ N/A N/A self window N/A None kwargs N/A N/A N/A window N/A N/A N/A ValueError Pane must have                              ``Window`` object N/A N/A self window window N/A N/A self session N/A N/A self window session N/A N/A self server N/A N/A self session server N/A N/A self _pane_id N/A kwargs N/A pane_id N/A N/A N/A N/A self server _update_panes N/A _TMUX N/A N/A self N/A args N/A N/A attrs N/A pane_id N/A self _pane_id by N/A N/A val N/A args N/A N/A N/A key value N/A N/A attrs items N/A N/A N/A N/A N/A N/A attrs N/A key N/A val N/A key N/A N/A False N/A N/A N/A KeyError N/A N/A False N/A True N/A N/A N/A N/A list N/A filter by N/A N/A self server _panes N/A 0 N/A property cmd N/A N/A self cmd N/A args kwargs N/A N/A Return :meth:`Server.cmd` defaulting to ``target_pane`` as target.

        Send command to tmux with :attr:`pane_id` as ``target-pane``.

        Specifying ``('-t', 'custom-target')`` or ``('-tcustom_target')`` in
        ``args`` will override using the object's ``pane_id`` as target.

        :rtype: :class:`Server.cmd`

         N/A N/A N/A any N/A N/A N/A arg startswith -t N/A arg args N/A N/A args N/A N/A -t N/A N/A self get pane_id args N/A N/A N/A N/A self server cmd cmd args kwargs N/A send_keys N/A N/A self cmd enter N/A True N/A N/A ``$ tmux send-keys`` to the pane.

        A leading space character is added to cmd to avoid polluting the
        user's history.

        :param cmd: Text or input into pane
        :type cmd: str
        :param enter: Send enter after sending the input.
        :type enter: bool

         N/A N/A N/A self cmd send-keys N/A cmd N/A enter N/A N/A N/A N/A self enter N/A clear N/A N/A self N/A N/A N/A Clear pane. N/A N/A N/A self send_keys reset N/A reset N/A N/A self N/A N/A N/A Reset and clear pane history.  N/A N/A N/A self cmd send-keys -R \; clear-history N/A split_window N/A N/A self attach N/A False N/A N/A Split window at pane and return newly created :class:`Pane`.

        :param attach: Attach / select pane after creation.
        :type attach: bool
        :rtype: :class:`Pane`.

         N/A N/A N/A N/A self window split_window target N/A N/A self get pane_id attach attach N/A set_width N/A N/A self width N/A N/A N/A Set width of pane.

        :param width: pane width, in cells.
        :type width: int

         N/A N/A N/A self resize_pane width width N/A set_height N/A N/A self height N/A N/A N/A Set height of pane.

        :param height: pane height, in cells.
        :type height: int

         N/A N/A N/A self resize_pane height height N/A resize_pane N/A N/A self N/A args kwargs N/A N/A ``$ tmux resize-pane`` of pane and return ``self``.

        :param target_pane: ``target_pane``, or ``-U``,``-D``, ``-L``, ``-R``.
        :type target_pane: string
        :rtype: :class:`Pane`

         N/A N/A height kwargs N/A N/A proc N/A N/A self cmd resize-pane N/A -y%s N/A int N/A kwargs N/A height N/A N/A N/A width kwargs N/A N/A proc N/A N/A self cmd resize-pane N/A -x%s N/A int N/A kwargs N/A width N/A N/A proc N/A N/A self cmd resize-pane N/A args N/A 0 N/A N/A proc stderr N/A N/A N/A N/A exc TmuxpException N/A proc stderr N/A N/A N/A N/A self server _update_panes N/A self N/A enter N/A N/A self N/A N/A N/A Send carriage return to pane.

        ``$ tmux send-keys`` send Enter to the pane.

         N/A N/A N/A self cmd send-keys Enter N/A select_pane N/A N/A self N/A N/A N/A Select pane. Return ``self``.

        To select a window object asynchrously. If a ``pane`` object exists
        and is no longer longer the current window, ``w.select_pane()``
        will make ``p`` the current pane.

        :rtype: :class:`pane`

         N/A N/A N/A N/A self window select_pane N/A N/A self get pane_id N/A __repr__ N/A N/A self N/A N/A N/A N/A %s(%s %s) N/A N/A N/A self __class__ __name__ N/A N/A self get pane_id N/A self window N/A N/A