KazDragon / terminalpp

A C++ library for interacting with ANSI terminal windows.
MIT License
75 stars 10 forks source link

Udl for single elements#189 #274

Closed KazDragon closed 3 years ago

KazDragon commented 3 years ago

Adds a UDL (_ete = encoded text element) similar to the existing _ets (encoded text string) that performs the same function for a single element. This resolves the issue where many elements are clumsily created using e.g. "\U1B87"_ets[0].

Closes #189


This change is Reviewable

coveralls commented 3 years ago

Coverage Status

Coverage increased (+0.5%) to 96.971% when pulling 5b46b52760910d2fa6eba6e477b5bdaf8ed68f95 on udl-for-single-elements#189 into e917de7906c76715c776a62cddd6ef640c252f81 on master.