Core LibraryAPI Reference

Choose documentation 3

latest

Current version

latest
English

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

C# API

method libtmux-dotnet latest

Server.GetMessagesAsync

Namespace LibTmux.Server.GetMessagesAsync LibTmux

Reads what the server has been logging.

View as Markdown

Source and package
Module
LibTmux
Declared in
Server
Package
LibTmux
Source
src/LibTmux/Server.Administration.cs
Other languages
Python Ruby Lua TypeScript Rust GoJava C++ Swift Kotlin Scala F#
GetMessagesAsync ( targetClient : string? , mode : ShowMessagesMode , cancellationToken : CancellationToken ) → Task<IReadOnlyList<string>>
methodasync [source]
Parameters
  • targetClient ( string? ) – The client to read for, or null for the server.

  • mode ( ShowMessagesMode ) – Which log to read.

  • cancellationToken ( CancellationToken ) – Cancels the tmux command.

Returns

One line per entry.

tmux command show-messages

In other ports Read the server's message log
  • Python libtmux.Server.show_messages
  • Ruby No source-verified Ruby equivalent is recorded for this operation.
  • Lua No source-verified Lua equivalent is recorded for this operation.
  • TypeScript no equivalent on Server
  • Rust no equivalent on Server
  • Go tmux.Server.ShowMessages
  • Java io.github.libtmux.MessageLog.lines
  • C++ Server::show_message posts a message rather than reading the log
  • Swift no equivalent on Server
  • Kotlin No source-verified Kotlin equivalent is recorded for this operation.
  • Scala No source-verified Scala equivalent is recorded for this operation.
  • F# No source-verified F# equivalent is recorded for this operation.
Esc

Type to search.