Learn R Programming

tmuxr (version 0.2.4)

display_message: Display a message

Description

Display a message.

Usage

display_message(target = NULL, message = NULL, verbose = FALSE, stdout = TRUE)

Arguments

target

A session, window, or pane.

message

A string. The message to display. Refer to the FORMATS section of the tmux man page for the format.

verbose

A logical. Print verbose logging as the format is parsed? Default: FALSE.

stdout

A logical. If TRUE, the message is printed to standard output. If FALSE, the message is sent to target. Default: TRUE.

Value

A string if stdout is TRUE, otherwise NULL.

Examples

Run this code
# NOT RUN {
s <- new_session("jazz", height = 12)
display_message(s, "#{window_active}")
display_message(s, "session '#{session_name}' has height #{window_height}.")
kill_session(s)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab