Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package libtsm for openSUSE:Factory checked in at 2026-02-06 19:11:02 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libtsm (Old) and /work/SRC/openSUSE:Factory/.libtsm.new.1670 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libtsm" Fri Feb 6 19:11:02 2026 rev:7 rq:1331627 version:4.4.2 Changes: -------- --- /work/SRC/openSUSE:Factory/libtsm/libtsm.changes 2026-01-26 11:34:08.989912570 +0100 +++ /work/SRC/openSUSE:Factory/.libtsm.new.1670/libtsm.changes 2026-02-06 19:17:48.634964224 +0100 @@ -1,0 +2,9 @@ +Fri Feb 6 11:59:19 UTC 2026 - Fabian Vogt <[email protected]> + +- Update to 4.4.2: + * add nord color scheme + * meson: include tsm's deps in libtsm_dep + * Fix CSI 18t and 19t reporting size + * resize: Fix a corner case when resizing + +------------------------------------------------------------------- Old: ---- v4.4.1.tar.gz New: ---- v4.4.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libtsm.spec ++++++ --- /var/tmp/diff_new_pack.woAYvI/_old 2026-02-06 19:17:49.362995027 +0100 +++ /var/tmp/diff_new_pack.woAYvI/_new 2026-02-06 19:17:49.370995365 +0100 @@ -19,7 +19,7 @@ %global sover 4 %global lname libtsm%{sover} Name: libtsm -Version: 4.4.1 +Version: 4.4.2 Release: 0 Summary: DEC-VT terminal emulator state machine License: LGPL-2.1-or-later AND MIT ++++++ v4.4.1.tar.gz -> v4.4.2.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libtsm-4.4.1/NEWS.md new/libtsm-4.4.2/NEWS.md --- old/libtsm-4.4.1/NEWS.md 2026-01-22 10:17:48.000000000 +0100 +++ new/libtsm-4.4.2/NEWS.md 2026-01-29 10:45:44.000000000 +0100 @@ -1,5 +1,16 @@ # libtsm Release News +## CHANGES WITH 4.4.2 +### New features +* add nord color scheme by @kdj0c in https://github.com/kmscon/libtsm/pull/21 +* meson: include tsm's deps in libtsm_dep by @1ace in https://github.com/kmscon/libtsm/pull/19 +### Bug Fixes +* Fix CSI 18t and 19t reporting size. by @kdj0c in https://github.com/kmscon/libtsm/pull/20 +* resize: Fix a corner case when resizing by @kdj0c in https://github.com/kmscon/libtsm/pull/22 + +## New Contributors +* @1ace made their first contribution in https://github.com/kmscon/libtsm/pull/19 + ## CHANGES WITH 4.4.1 ### New features * Add support to CSI b sequence (repeat last char) by @kdj0c in https://github.com/kmscon/libtsm/pull/15 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libtsm-4.4.1/meson.build new/libtsm-4.4.2/meson.build --- old/libtsm-4.4.1/meson.build 2026-01-22 10:17:48.000000000 +0100 +++ new/libtsm-4.4.2/meson.build 2026-01-29 10:45:44.000000000 +0100 @@ -3,7 +3,7 @@ project( 'libtsm', 'c', - version: '4.4.1', + version: '4.4.2', license: 'MIT', meson_version: '>=1.1', default_options: [ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libtsm-4.4.1/src/tsm/meson.build new/libtsm-4.4.2/src/tsm/meson.build --- old/libtsm-4.4.1/src/tsm/meson.build 2026-01-22 10:17:48.000000000 +0100 +++ new/libtsm-4.4.2/src/tsm/meson.build 2026-01-29 10:45:44.000000000 +0100 @@ -24,10 +24,12 @@ endif endif +deps = [wcwidth_dep, shl_dep, xkbcommon_dep] + libtsm = shared_library( 'tsm', libtsm_srcs, - dependencies: [wcwidth_dep, shl_dep, xkbcommon_dep], + dependencies: deps, install: true, version: version, soversion: major, @@ -37,6 +39,7 @@ libtsm_dep = declare_dependency( include_directories: '.', link_with: libtsm, + dependencies: deps, sources: libtsm_srcs, ) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libtsm-4.4.1/src/tsm/tsm-screen.c new/libtsm-4.4.2/src/tsm/tsm-screen.c --- old/libtsm-4.4.1/src/tsm/tsm-screen.c 2026-01-22 10:17:48.000000000 +0100 +++ new/libtsm-4.4.2/src/tsm/tsm-screen.c 2026-01-29 10:45:44.000000000 +0100 @@ -771,7 +771,7 @@ /* If there is nothing in the scrollback buffer, * Only scroll up if the cursor would go off-screen */ if (con->cursor_y >= y) { - diff = y - con->cursor_y + 1; + diff = con->cursor_y - y + 1; tsm_screen_scroll_up(con, diff); move_cursor(con, con->cursor_x, y - 1); } @@ -796,7 +796,6 @@ tsm_screen_scroll_down(con, diff); remove_from_sb(con, diff); move_cursor(con, con->cursor_x, con->cursor_y + diff); - diff--; } } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libtsm-4.4.1/src/tsm/tsm-vte.c new/libtsm-4.4.2/src/tsm/tsm-vte.c --- old/libtsm-4.4.1/src/tsm/tsm-vte.c 2026-01-22 10:17:48.000000000 +0100 +++ new/libtsm-4.4.2/src/tsm/tsm-vte.c 2026-01-29 10:45:44.000000000 +0100 @@ -243,6 +243,28 @@ [TSM_COLOR_BACKGROUND] = { 0, 0, 0 }, /* black */ }; +static uint8_t color_palette_nord[TSM_COLOR_NUM][3] = { + [TSM_COLOR_BLACK] = { 59, 66, 82 }, /* black */ + [TSM_COLOR_RED] = { 191, 97, 106 }, /* red */ + [TSM_COLOR_GREEN] = { 163, 190, 140 }, /* green */ + [TSM_COLOR_YELLOW] = { 235, 203, 139 }, /* yellow */ + [TSM_COLOR_BLUE] = { 129, 161, 193 }, /* blue */ + [TSM_COLOR_MAGENTA] = { 180, 142, 173 }, /* magenta */ + [TSM_COLOR_CYAN] = { 136, 192, 208 }, /* cyan */ + [TSM_COLOR_LIGHT_GREY] = { 229, 233, 240 }, /* light grey */ + [TSM_COLOR_DARK_GREY] = { 76, 86, 106 }, /* dark grey */ + [TSM_COLOR_LIGHT_RED] = { 191, 97, 106 }, /* light red */ + [TSM_COLOR_LIGHT_GREEN] = { 163, 190, 140 }, /* light green */ + [TSM_COLOR_LIGHT_YELLOW] = { 235, 203, 139 }, /* light yellow */ + [TSM_COLOR_LIGHT_BLUE] = { 129, 161, 193 }, /* light blue */ + [TSM_COLOR_LIGHT_MAGENTA] = { 180, 142, 173 }, /* light magenta */ + [TSM_COLOR_LIGHT_CYAN] = { 143, 188, 187 }, /* light cyan */ + [TSM_COLOR_WHITE] = { 236, 239, 244 }, /* white */ + + [TSM_COLOR_FOREGROUND] = { 216, 222, 233 }, /* light grey */ + [TSM_COLOR_BACKGROUND] = { 46, 52, 64 }, /* black */ +}; + static uint8_t color_palette_solarized[TSM_COLOR_NUM][3] = { [TSM_COLOR_BLACK] = { 7, 54, 66 }, /* black */ [TSM_COLOR_RED] = { 220, 50, 47 }, /* red */ @@ -382,6 +404,8 @@ if (!strcmp(vte->palette_name, "custom") && vte->custom_palette_storage) return vte->custom_palette_storage; + if (!strcmp(vte->palette_name, "nord")) + return color_palette_nord; if (!strcmp(vte->palette_name, "solarized")) return color_palette_solarized; if (!strcmp(vte->palette_name, "solarized-black")) @@ -1811,7 +1835,7 @@ w = tsm_screen_get_width(vte->con); h = tsm_screen_get_height(vte->con); - len = snprintf(buf, sizeof(buf), "\e[%u;%u;%ut", resp, h + 1, w + 1); + len = snprintf(buf, sizeof(buf), "\e[%u;%u;%ut", resp, h, w); if (len >= sizeof(buf)) return; vte_write(vte, buf, len);
