purebred-mua / tasty-tmux

Terminal user acceptance testing via tmux
GNU Affero General Public License v3.0
6 stars 0 forks source link

add type synonym or newtype for captures #4

Closed frasertweedale closed 5 years ago

frasertweedale commented 5 years ago

To make it clear what is a capture, add a type synonym type Capture = String.

Or possibly even an opaque newtype. This could also make it easier to change it to a data type in future, if we ever want to store more information in a capture (e.g. a timestamp, what the terminal size was, etc).