[Tickit-dev] libtickit 0.2-beta1

Paul "LeoNerd" Evans leonerd at leonerd.org.uk
Thu Nov 30 02:08:31 GMT 2017


I've been changing a bunch of things around in the C library, and
before I finish with the full set of v0.2 additions, I thought I'd make
a "beta" release now so at least those changes can be previewed and
checked out.

  http://www.leonerd.org.uk/code/libtickit/libtickit-0.2-beta1.tar.gz

Important changes:

  * New bind_events API style - one event + flags, instead of bitmask

    The various ..._bind_events() functions have now got a new
    interface style. Should be relatively simple to adjust your code if
    you're only using one event type at once.

  * Renamed:
     + tickit_string_seqlen   => tickit_utf8_seqlen
     + tickit_string_putchar  => tickit_utf8_put
     + tickit_string_mbswidth => tickit_utf8_mbswidth
     + tickit_string_byte2col => tickit_utf8_byte2col
     + tickit_string_col2byte => tickit_utf8_col2byte
     + tickit_string_count*   => tickit_utf8_count*

    These functions now have new names; deprecation warnings are
    emitted for uses of the old name so it should be easy to find/fix
    them.

The rest of the changes are additions for 0.2:

  * Added tickit_window_{is,set}_steal_focus(3)
  * Added entire toplevel Tickit instance
  * Added TickitString
  * Added tickit_rectset_get_rect(3)
  * Added tickit_renderbuffer_skiprect(3)
  * Added tickit_renderbuffer_moverect(3)
  * Added tickit_term_ctlname(3) and tickit_term_lookup_ctl(3)

There's still a few more bits to add yet, such as the RGB8 colour
support and terminal pause/resume, so it's not quite finished yet.

-- 
Paul "LeoNerd" Evans

leonerd at leonerd.org.uk      |  https://metacpan.org/author/PEVANS
http://www.leonerd.org.uk/  |  https://www.tindie.com/stores/leonerd/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: OpenPGP digital signature
URL: <http://mail.leonerd.org.uk/pipermail/tickit-dev/attachments/20171130/dfa3b61e/attachment.sig>


More information about the Tickit-dev mailing list