Core LibraryAPI Reference

Choose documentation 3

Concept and alpha: example support scope and release maturity.

v0.1.0.alpha.2

Current version

v0.1.0.alpha.2
English

Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

method libtmux-ruby v0.1.0.alpha.2

Server.new_session

Module LibTmux::Async::Server#new_session LibTmux::Async

Behavior: Creation.

Source and package
Module
LibTmux::Async
Declared in
Server
Package
libtmux-async
Source
gems/libtmux/lib/libtmux/server.rb
def new_session: ( name: ::String, command: ::Array[::String], receipt: true, ?width: ::Integer?, ?height: ::Integer?, ?window_name: ::String?, ?cwd: ::String?, ?environment: ::Hash[::String, ::String], ?timeout: ::Numeric, ?cancel: untyped ) -> ::LibTmux::CreationReceiptdef new_session: ( name: ::String, command: ::Array[::String], ?receipt: false, ?width: ::Integer?, ?height: ::Integer?, ?window_name: ::String?, ?cwd: ::String?, ?environment: ::Hash[::String, ::String], ?timeout: ::Numeric, ?cancel: untyped ) -> ::LibTmux::Session

Public owner: LibTmux::Server#new_session

Description#

Behavior contract: Creation.

Esc

Type to search.

Reference preview Open reference