struct TermBuf::Events::Pasting

Overview

A paste has been arriving long enough to be worth saying so on screen, which is what stops a long one looking like a hung application.

Repeated as it grows, no more often than the decoder's progress interval. The Paste that follows is the signal to take the notice down.

Defined in:

termbuf/terminal/event.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(bytes : Int32, elapsed : Time::Span) #

[View source]

Instance Method Detail

def bytes : Int32 #

def clone #

[View source]
def copy_with(bytes _bytes = @bytes, elapsed _elapsed = @elapsed) #

[View source]
def elapsed : Time::Span #