struct TermBuf::Commands::Paint

Overview

Draw. A reply channel makes the caller wait for the bytes to reach the terminal and carries back anything that went wrong; without one the command is fire and forget, which is what the frame scheduler wants.

Defined in:

termbuf/terminal/command.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(forced : Bool, reply : Channel(Exception | Nil) | Nil) #

[View source]

Instance Method Detail

def clone #

[View source]
def copy_with(forced _forced = @forced, reply _reply = @reply) #

[View source]
def forced : Bool #

def reply : Channel(Exception | Nil) | Nil #