Method

TermboxMouseEventcopy

Declaration

TbgMouseEvent*
tbg_mouse_event_copy (
  const TbgMouseEvent* event
)

Description

Copy event.

Return value

Type: TbgMouseEvent

A newly allocated copy of event.

The caller of the method takes ownership of the returned data, and is responsible for freeing it.