Version in base suite: 0.12.4-1 Base version: lnav_0.12.4-1 Target version: lnav_0.12.4-1+deb13u1 Base file: /srv/ftp-master.debian.org/ftp/pool/main/l/lnav/lnav_0.12.4-1.dsc Target file: /srv/ftp-master.debian.org/policy/pool/main/l/lnav/lnav_0.12.4-1+deb13u1.dsc changelog | 6 + patches/notcurses-handle-failure-to-set-cregs-from-tmux.patch | 45 ++++++++++ patches/series | 1 3 files changed, 52 insertions(+) diff -Nru lnav-0.12.4/debian/changelog lnav-0.12.4/debian/changelog --- lnav-0.12.4/debian/changelog 2025-03-23 19:37:34.000000000 +0000 +++ lnav-0.12.4/debian/changelog 2025-10-23 19:06:37.000000000 +0000 @@ -1,3 +1,9 @@ +lnav (0.12.4-1+deb13u1) trixie; urgency=medium + + * [notcurses] handle failure to set cregs from tmux (Closes: #1109004) + + -- Salvatore Bonaccorso Thu, 23 Oct 2025 21:06:37 +0200 + lnav (0.12.4-1) unstable; urgency=medium * Upload to unstable diff -Nru lnav-0.12.4/debian/patches/notcurses-handle-failure-to-set-cregs-from-tmux.patch lnav-0.12.4/debian/patches/notcurses-handle-failure-to-set-cregs-from-tmux.patch --- lnav-0.12.4/debian/patches/notcurses-handle-failure-to-set-cregs-from-tmux.patch 1970-01-01 00:00:00.000000000 +0000 +++ lnav-0.12.4/debian/patches/notcurses-handle-failure-to-set-cregs-from-tmux.patch 2025-10-23 19:06:37.000000000 +0000 @@ -0,0 +1,45 @@ +From: Tim Stack +Date: Thu, 20 Feb 2025 20:39:49 -0800 +Subject: [notcurses] handle failure to set cregs from tmux +Origin: https://github.com/tstack/lnav/commit/5e0bfa483714f05397265a690960d23ae22e1838 +Bug: https://github.com/tstack/lnav/issues/1390 +Bug-Debian: https://bugs.debian.org/1109004 + +Related to #1390 +--- + src/third-party/notcurses/src/lib/in.c | 5 +++-- + 1 file changed, 3 insertions(+), 2 deletions(-) + +diff --git a/src/third-party/notcurses/src/lib/in.c b/src/third-party/notcurses/src/lib/in.c +index ae97dd294761..f2f60f10b739 100644 +--- a/src/third-party/notcurses/src/lib/in.c ++++ b/src/third-party/notcurses/src/lib/in.c +@@ -878,7 +878,7 @@ kitty_cb(inputctx* ictx){ + return 2; + } + +-static int ++static int + kitty_cb_atxtn(inputctx* ictx, int n, int with_event){ + uint32_t txt[5]={0}; + unsigned val = amata_next_numeric(&ictx->amata, "\x1b[", ';'); +@@ -1868,7 +1868,7 @@ build_cflow_automaton(inputctx* ictx){ + { "[?1;2S", NULL, }, // negative cregs XTSMGRAPHICS + { "[?1;3S", NULL, }, // negative cregs XTSMGRAPHICS + { "[?1;3;S", NULL, }, // iterm2 negative cregs XTSMGRAPHICS +- { "[?1;3;0S", NULL, }, // negative cregs XTSMGRAPHICS ++ { "[?1;3;\\NS", NULL, }, // negative cregs XTSMGRAPHICS + { "[?2;1S", NULL, }, // negative pixels XTSMGRAPHICS + { "[?2;2S", NULL, }, // negative pixels XTSMGRAPHICS + { "[?2;3S", NULL, }, // negative pixels XTSMGRAPHICS +@@ -1878,6 +1878,7 @@ build_cflow_automaton(inputctx* ictx){ + { "[?7c", da1_cb, }, // CSI ? 7 c ("VT131") + { "[?1;0c", da1_cb, }, // CSI ? 1 ; 0 c ("VT101 with No Options") + { "[?1;2c", da1_cb, }, // CSI ? 1 ; 2 c ("VT100 with Advanced Video Option") ++ { "[?1;2;\\Dc", da1_attrs_cb, }, + { "[?4;6c", da1_cb, }, // CSI ? 4 ; 6 c ("VT132 with Advanced Video and Graphics") + // CSI ? 1 2 ; Ps c ("VT125") + // CSI ? 6 0 ; Ps c (kmscon) +-- +2.50.0 + diff -Nru lnav-0.12.4/debian/patches/series lnav-0.12.4/debian/patches/series --- lnav-0.12.4/debian/patches/series 2025-03-23 19:37:34.000000000 +0000 +++ lnav-0.12.4/debian/patches/series 2025-10-23 19:06:37.000000000 +0000 @@ -11,3 +11,4 @@ disable-test_cmds.patch Add-loongarch64-support.patch disable-test_sql_indexes.patch +notcurses-handle-failure-to-set-cregs-from-tmux.patch