struct TermBuf::Commands::Batch

Overview

Several commands as one channel operation. A full redraw is thousands of writes; sending them individually would spend more time in the channel than in the buffer.

Defined in:

termbuf/terminal/command.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(commands : Array(Command)) #

[View source]

Instance Method Detail

def clone #

[View source]
def commands : Array(Command) #

def copy_with(commands _commands = @commands) #

[View source]