Core Library0.xAPI reference

Choose documentation 1

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

MoreLess about this notice

class libtmux-kotlin

Client

An attached tmux client and its captured properties.

Source and package
Qualified name
io.github.libtmux.kotlin.Client
Package
io.github.libtmux.kotlin
Distribution
io.github.libtmux:libtmux-kotlin
Source
libtmux-kotlin/src/main/kotlin/io/github/libtmux/kotlin/Client.kt
public class Client

Description

Holds the Java handle privately, so a member here always wins over a same-named catalog-generated extension in ClientOperations.kt. Companion hosts the generated query field namespace.

Members15 members

Parent objects2

  • session property The session this client was attached to when captured. A pure read of the capture.
  • server property

Other members13

  • asJava property The Java client this wraps: the same object, for a Java API that takes one.
  • attachment property What this client was looking at when captured. A pure read: it issues no command.
  • Companion module
  • detach method Detaches this client, leaving whatever it was attached to running.
  • detachOthers method Detaches every other client, leaving this one attached.
  • equals method
  • fetchAttachment method Takes a new capture and returns what this client is looking at now.
  • hashCode method
  • name property The client's terminal name, which is how tmux addresses it.
  • redraw method Asks tmux to redraw this client.
  • refresh method Takes a new capture and returns this client as it is now.
  • switchTo method Moves this client to another session.
  • toString method

Order: the accessors that walk the hierarchy, the operations the ports share, then the rest.

Guides

task material

Pages that discuss Client.

Esc
Search in

Type to search.

Reference previewOpen reference