git.y1.nz

mtm

Ncurses-based terminal multiplexer
download: https://git.y1.nz/archives/mtm.tar.gz
Files | Log | Refs

commit dcae961ff54cd713c19c13cccf2c8f39bb0c86e0
parent c4fcc9960addb44a5874f35dc83e97b067058b99
Author: Rob King <jking@deadpixi.com>
Date:   Sun, 19 Feb 2017 20:57:27 -0600

Updated to latest libtmt.

Diffstat:
Mtmt.c3+--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/tmt.c b/tmt.c @@ -24,7 +24,6 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ - #include <limits.h> #include <stdint.h> #include <stdlib.h> @@ -349,7 +348,7 @@ tmt_close(TMT *vt) bool tmt_resize(TMT *vt, size_t nline, size_t ncol) { - if (nline <= 2 || ncol <= 2) + if (nline < 2 || ncol < 2) return false; if (nline < vt->screen.nline)

This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.