From aba34487481da9c7102573f8f5db1be469386a72 Mon Sep 17 00:00:00 2001 From: nsf Date: Mon, 22 Aug 2016 02:18:05 +0500 Subject: [PATCH] Update README with more 1.1.0 changes, and let's tag a release. --- README.rst | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/README.rst b/README.rst index bd5cc9b..e9c99b7 100644 --- a/README.rst +++ b/README.rst @@ -32,7 +32,7 @@ libraries. If you want to install a shared library or static library alone, use the following as an install command:: ./waf install --targets=termbox_shared --destdir=PREFIX (shared library) - + or:: ./waf install --targets=termbox_static --destdir=PREFIX (static library) @@ -59,17 +59,17 @@ Termbox's interface only consists of 12 functions:: tb_init() // initialization tb_shutdown() // shutdown - + tb_width() // width of the terminal screen tb_height() // height of the terminal screen - + tb_clear() // clear buffer tb_present() // sync internal buffer with terminal - + tb_put_cell() tb_change_cell() tb_blit() // drawing functions - + tb_select_input_mode() // change input mode tb_peek_event() // peek a keyboard event tb_poll_event() // wait for a keyboard event @@ -105,13 +105,21 @@ and questions to me: no.smile.face@gmail.com. CHANGES ======= -v1.1.0 (not released yet): +v1.1.0: - API: tb_width() and tb_height() are guaranteed to be negative if the termbox wasn't initialized. - API: Output mode switching is now possible, adds 256-color and grayscale color modes. - API: Better tb_blit() function. Thanks, Gunnar Zötl . +- API: New tb_cell_buffer() function for direct back buffer access. +- API: Add new init function variants which allow using arbitrary file + descriptor as a terminal. +- Improvements in input handling code. +- Calling tb_shutdown() twice is detected and results in abort() to discourage + doing so. +- Mouse event handling is ported from termbox-go. +- Paint demo port from termbox-go to demonstrate mouse handling capabilities. - Bug fixes in code and documentation. v1.0.0: