Repository navigation
vendor: drop unneeded termina patches and merge upstream ratatui - #4
Merged
Merged
Conversation
- The rustix rounding workaround: rustix 1.1.5 carries microsecond overflow into seconds when it converts the select(2) timeout, so require rustix 1.1.5 and use upstream's code. - Hash on Modifiers, the text-area pixel size response, and the SGR mouse DEC mode reports: nothing in flyline or the vendored ratatui backend uses or queries them. - Cursor::goto: flyline now uses upstream's Cursor::default_position(). Kept: raw device attributes and the DA2/unhandled-CSI deadlock fix, OSC 52 replies as Paste, the base-layout key, PlatformTerminal::with_reader, the order-preserving event buffer, and TCSANOW so unread input survives entering raw mode. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
5a28bec1 chore(ci): only create the release-plz PR on manual dispatch (#2946) c0c26f1c perf(buffer): skip grapheme segmentation for ascii in set_stringn (#2922) ff719439 fix(terminal): don't re-show an already-visible cursor every frame (#2752) 27c7483c fix(paragraph): account for block borders and padding in line_count (#2824) bd1ac609 refactor(table): take slices in render_row_cells (#2948) 529f6548 fix(table): honor column spans in headers and footers (#2903) bf54e8dc fix(text): avoid allocating when rendering a `Line` of owned `Span`s (#2914) c436b9db feat(widgets)!: split HighlightSpacing into List and Table types (#2265) 82175dba feat!: break scrolling regions out into a separate trait (#2121) 89b8c776 fix(crossterm): handle NormalIntensity in FromCrossterm<ContentStyle> (#2931) 693f54f5 chore!: remove APIs deprecated in 0.26.x (#2913) ad85368b refactor(bench): flatten buffer benchmarks and make with_lines scale with size (#2941) 4a91af17 docs(chart): fix default axis and legend constraint docs (#2902) 7c6a326c feat(widget)!: render Cow, Box, Rc, and Arc of any widget (#2883) 29196825 refactor(widget): move string widget impls into their own modules (#2940) 12f4c2dd feat(list): add opt-in clamping and wrapping (#2424) 7b2665e0 perf(ratatui-core): add `buffer::diff` benchmarks to get a performance baseline (#2276) 424a99a2 fix(scrollbar): reach the end of the track when content is fully scrolled (#2939) 6d208e68 fix(barchart): split horizontal value text by display width (#2629) bc4a86b8 fix: Clear doesn't shrink a wide glyph straddling the left edge (#2628) 63e3c75a feat(calendar): add Monthly::show_week_numbers (#2927) 7ed20803 feat(calendar): add Monthly::first_day_of_week (#2926) 83e452a7 fix(paragraph): keep wrapped lines within bounds (#2680) 0c7ad2c3 feat(modifiers): support custom underlines (#2740) 40450c29 fix(layout): account for inter-segment spacing in Ratio/Percentage (#2770) 3bd32490 style(docs): fix formatting (#2937) 401788b5 feat(inline): add set_viewport_height for inline terminal (#1964) 97f81d18 feat(calendar)!: use jiff dates instead of time (#2924) 22d8f746 fix(terminal): allow inline viewport cursor override (#2807) 5c1a8cd5 docs(text): explain why ANSI escape sequences are not interpreted (#2929) 05ed356f docs: fix broken and mismatched documentation links (#2930) 60feb0eb docs(core): fix the Block::merge_borders link in MergeStrategy docs (#2928) ec3336d2 feat(calendar)!: move the calendar widget to ratatui-calendar (#2923) 77a25c16 chore: bump copyright years to 2026 (#2921) f08c02fd build(deps): bump tombi-toml/setup-tombi from 1.10.0 to 1.11.2 (#2918) b287eed3 build(deps): bump taiki-e/install-action from 2.90.2 to 2.90.3 (#2919) 1617a940 build(deps): bump crate-ci/typos from 1.52.0 to 1.52.2 (#2917) 41c26a74 docs(examples): add an Elm architecture example (#2876) aa5ee235 chore: fix clippy lints for Rust 1.101 beta (#2911) 464891b3 chore(ci): move external-change checks to a daily workflow (#2899) 1bcbc5e4 docs(readme): move alternatives to the website (#2910) 6b396976 build(deps): bump amannn/action-semantic-pull-request from 6.1.1 to 6.1.2 (#2909) 0250ef01 build(deps): bump release-plz/action from 0.5.147 to 0.5.148 (#2908) 4f2d0061 build(deps): bump zizmorcore/zizmor-action from 0.8.0 to 0.8.1 (#2906) eee60c34 build(deps): bump taiki-e/install-action from 2.88.1 to 2.90.2 (#2907) 77ee1f80 build(deps): bump crate-ci/typos from 1.51.1 to 1.52.0 (#2905) d1d969e7 build(deps): bump tombi-toml/setup-tombi from 1.9.8 to 1.10.0 (#2904) 2b7b78e7 build(deps): update rand to patched versions (#2901) 834ab723 Merge pull request #2900 from ratatui/joshka/deps-futures-chacha 77c1b683 build(deps): update futures-util and chacha20 2b6793e6 build(deps): bump rustls from 0.23.45 to 0.23.46 in the cargo group across 1 directory (#2895) 587fc351 test(core): cover halfwidth sound mark widths (#2887) fd4546e4 build(deps): bump unicode-width from 0.2.2 to 0.2.3 (#2892) 18b858cd build(deps): bump tombi-toml/setup-tombi from 1.9.1 to 1.9.8 (#2894) 8c970b3a build(deps): bump taiki-e/install-action from 2.87.31 to 2.88.1 (#2893) 15dadc75 build(deps): bump release-plz/action from 0.5.145 to 0.5.147 (#2891) 8a174e17 build(deps): bump octocrab from 0.54.5 to 0.54.7 (#2890) 27d15a68 build(deps): bump DavidAnson/markdownlint-cli2-action from 24.2.0 to 25.0.0 (#2889) 3fdb4a0b fix(layout)!: preserve single item constraints with SpaceBetween (#2720) 54e038d0 refactor(examples): make the inline example easier to follow (#2885) 41c25527 fix(examples): filter non-press key events (#2678) 54eb2dd9 feat(widget): implement Widget for Cow<str> and &String (#2882) 608d1721 fix(chart): space x axis labels evenly across the axis (#2751) 21bf834c docs(text): explain storing styled text (#2881) 3e059b8c feat(text): add into_owned for Span, Line and Text (#2879) 836898f0 feat(text): convert borrowed Text, Line and Span references (#2878) 7cf10be7 fix(buffer): repaint cells uncovered by an overwritten wide glyph (#2804) 0a6bd9f2 fix(terminal): don't draw cells hidden behind wide glyphs in insert_before (#2827) 0ce9cff0 docs(buffer): clarify rendering and bounds (#2814) 314aa5f3 perf(chart): map line dataset points to the grid once (#2872) d5ec4369 perf(canvas): compute the grid scale once per shape (#2871) ac87086d perf(text): reuse owned String in Line::raw and Text::raw (#2880) dacaaa39 test(bench): benchmark rendering stored owned text (#2877) a8962e09 fix(canvas): draw circles without gaps or trigonometry (#2869) f4fc8399 docs: link prelude re-exports to their canonical paths (#2875) 15f22d39 docs(style): explain how styles combine and why modifiers are add/sub (#2874) 36b4ab6d perf(canvas): add circle benchmarks (#2868) cdcb0c01 docs(layout): recommend layout-cache for no_std (#2867) b80480c1 build(deps): bump Swatinem/rust-cache from 2.9.2 to 2.9.3 (#2859) 5e46f4ce build(deps): bump tombi-toml/setup-tombi from 1.8.5 to 1.9.1 (#2858) 959f718a build(deps): bump rstest from 0.27.0 to 0.28.0 (#2861) f7f24663 build(deps): bump zizmorcore/zizmor-action from 0.7.1 to 0.8.0 (#2862) f0e3feb3 build(deps): bump rust-lang/crates-io-auth-action from 1.0.5 to 1.0.6 (#2863) 0faeb3f6 build(deps): bump lru from 0.18.5 to 0.19.0 (#2864) 25ae9c17 build(deps): bump octocrab from 0.54.4 to 0.54.5 (#2865) ae39a37a build(deps): bump taiki-e/install-action from 2.87.29 to 2.87.31 (#2866) 65679a6a build(deps): bump release-plz/action from 0.5.142 to 0.5.145 (#2860) 490c9a7e feat(ScrollbarState): add getter for content-length (#2840) b5224b27 fix(table): clip rendering to buffer bounds (#2851) 6fbb0199 fix(list): clip rendering to buffer bounds (#2841) 6d6ced53 build(deps): require patched lru 0.18.2 (#2825) c0885a7e docs(release): fix demo2 recording commands (#2856) f57b06ff fix(buffer): guard set_stringn against out-of-area coordinates (#2850) 9e6e1e34 chore(ci): restrict release workflow to main (#2849) c27a3cf1 build(deps): bump zizmorcore/zizmor-action from 0.6.4 to 0.7.1 (#2847) f5d3b257 build(deps): bump tombi-toml/setup-tombi from 1.8.0 to 1.8.5 (#2846) f6fbd8eb build(deps): bump taiki-e/install-action from 2.87.27 to 2.87.29 (#2845) aa3939f0 build(deps): bump kasuari from 0.4.12 to 0.4.13 (#2844) a38fc9d7 build(deps): bump release-plz/action from 0.5.141 to 0.5.142 (#2843) 9173f3df build(deps): bump dtolnay/rust-toolchain from e2a55d2ffb04f378e9626c28d38b36d230d1e12f to 683b588c487a69d01f6c6ddf40f036ff682cc2c8 (#2842) 0297560d build(deps): bump trybuild from 1.0.121 to 1.0.122 (#2833) 28cda03e build(deps): bump tombi-toml/setup-tombi from 1.5.5 to 1.8.0 (#2832) a8a4bbe1 build(deps): bump release-plz/action from 0.5.139 to 0.5.141 (#2828) 8d996cf0 build(deps): bump taiki-e/install-action from 2.87.22 to 2.87.27 (#2831) 89d81409 build(deps): bump dtolnay/rust-toolchain from 02cb101ec7c40f2c49e1d9714d64511d8e1b74de to e2a55d2ffb04f378e9626c28d38b36d230d1e12f (#2830) 17c78e11 build(deps): bump crate-ci/typos from 1.50.3 to 1.51.1 (#2829) 6ba86196 build(deps): bump portable-atomic-util from 0.2.6 to 0.2.8 (#2834) 3897a8d4 build(deps): bump indoc from 2.0.7 to 2.0.8 (#2835) 02ca8d82 build(deps): bump serde_json from 1.0.151 to 1.0.152 (#2836) c01b2db9 build(deps): bump octocrab from 0.54.2 to 0.54.3 (#2837) d1ef782b fix(charts): clip rendering to buffer bounds (#2817) 5a57af20 fix(widgets): clip string rendering to buffer (#2815) 7125ef2e fix(calendar): respect rendering bounds (#2819) 8685c437 fix(tabs): clip rendering to buffer bounds (#2816) d16bdc64 fix(canvas): clip rendering to buffer bounds (#2821) 2bcbd749 fix(scrollbar): clip rendering to buffer bounds (#2818) 3c49d36f fix(gauge): clip rendering to buffer bounds (#2820) f7be6b7f build(deps): bump colorgrad from 0.8.0 to 0.9.0 (#2809) f07e59f4 build(deps): bump octocrab from 0.54.1 to 0.54.2 (#2786) 4c395dec build(deps): bump codecov/codecov-action from 7.0.0 to 7.1.1 (#2785) c0581a55 build(deps): bump taiki-e/install-action from 2.84.0 to 2.87.22 (#2808) 3b5c1976 build(deps): bump dtolnay/rust-toolchain from 6c977a6ca4077a0ceb28ffbe03f59d46e9ac8772 to 02cb101ec7c40f2c49e1d9714d64511d8e1b74de (#2784) a27cf84e build(deps): bump tombi-toml/setup-tombi from 1.5.4 to 1.5.5 (#2783) 91dc40fa fix(widgets): forward portable-atomic feature to ratatui-widgets (#2822) cdccc2bc chore: add inverted svg logo asset (#2794) f79072a7 build(deps): bump rustls from 0.23.31 to 0.23.45 in the cargo group across 1 directory (#2812) f49a9dc1 chore: fix clippy lints for rust 1.100.0-beta (#2805) 9d16fa0d feat(macros): add consistent arrow styling (#2768) 7767679c build(deps): bump instability from 0.3.13 to 0.3.14 (#2799) 007450f1 build(deps): bump lru from 0.18.4 to 0.18.5 (#2797) 92ff3a2f build(deps): bump crate-ci/typos from 1.50.2 to 1.50.3 (#2798) a4ad07c0 build(deps): bump release-plz/action from 0.5.138 to 0.5.139 (#2796) c40a8ef9 build(deps): bump thiserror from 2.0.20 to 2.0.21 (#2800) fd51259f build(deps): bump rand from 0.10.2 to 0.10.3 (#2801) 54b68743 build(deps): bump clap from 4.6.6 to 4.6.7 (#2787) 21324fe8 build(deps): bump release-plz/action from 0.5.136 to 0.5.138 (#2789) 3603d21f feat(scrollbar): add ScrollbarState::is_at_start and is_at_end (#2780) a9f05cc2 ci: run test-libs on stable only 7023d4f2 fix(example): handle calendar exit keys (#2639) de5e3025 build(deps): bump unicode-truncate from 2.0.1 to 3.0.0 (#2732) 3f38adb2 build(deps): bump crate-ci/typos from 1.47.2 to 1.48.0 (#2633) 8eab17be docs: fix RELEASE.md references to nonexistent cd.yml (#2782) ad2e79e6 fix(rect): empty Rect never intersects (#2766) f6f086db build(deps): bump bitflags from 2.13.1 to 2.13.2 (#2779) 4c61b184 build(deps): bump release-plz/action from 0.5.132 to 0.5.136 (#2775) f6155974 build(deps): bump trybuild from 1.0.120 to 1.0.121 (#2778) 6ec7a2b6 build(deps): bump rstest from 0.26.1 to 0.27.0 (#2777) 17001c93 build(deps): bump tombi-toml/setup-tombi from 1.5.1 to 1.5.4 (#2776) aef7f056 build(deps): bump zizmorcore/zizmor-action from 0.6.3 to 0.6.4 (#2774) e02e2a62 fix(examples): use fallback colors in the gauge example without truecolor (#2756) 49d554d0 feat(termina): use termina 0.4 (#2769) 982cd76b build(deps): bump zizmorcore/zizmor-action from 0.6.2 to 0.6.3 (#2757) 3b416a54 build(deps): bump release-plz/action from 0.5.131 to 0.5.132 (#2758) 65a53bed build(deps): bump serde from 1.0.228 to 1.0.229 (#2764) d57043f9 build(deps): bump tombi-toml/setup-tombi from 1.4.1 to 1.5.1 (#2759) 6936cce7 build(deps): bump duct from 1.1.1 to 1.1.2 (#2765) ed0e7aa8 build(deps): bump trybuild from 1.0.115 to 1.0.120 (#2762) 0d157706 build(deps): bump crate-ci/typos from 1.50.0 to 1.50.1 (#2763) 5d297413 build(deps): bump lru from 0.18.3 to 0.18.4 (#2760) 99168f8a feat(table): add scroll_padding to Table widget (#2511) a0189ae4 feat(terminal): add `ratatui::run_with_options` (#2741) a1a90d9d fix(fill): reject empty symbols (#2736) b45e20c1 fix(terminal)!: don't clear the whole screen when an inline viewport shrinks horizontally (#2670) af5be7c3 perf(terminal): skip the redundant screen clear on horizontal shrink (#2731) 8e4bf499 refactor(test): group style tests into separate modules (#2714) a4c02c99 feat(widgets): Add new shape Area to a Canvas (a polygon defined by set of vertices) (#2436) e807e950 feat(widgets): add Marker support to Sparkline (#2725) 67019321 fix(core): prevent rendering artifacts around VS16 graphemes (#2686) 7babd829 fix(buffer): clear trailing cells before wide glyph repaint (#2743) 3d7c9464 build(deps): bump lru from 0.18.2 to 0.18.3 (#2745) bf686dfb build(deps): bump tombi-toml/setup-tombi from 1.4.0 to 1.4.1 (#2744) 90e0e505 build(deps): bump crate-ci/typos from 1.49.0 to 1.50.0 (#2747) 109d1473 refactor(examples): remove unnecessary tick loop in scrollbar example (#2726) 7c6b8259 docs: fix broken links to examples (#2737) a1b0b9ca fix(backend): avoid overflow when tracking cursor position (#2735) 13f6cfed fix(backend): account for symbol width when skipping cursor moves (#2721) 59711343 build(deps): bump tokio-stream from 0.1.18 to 0.1.19 (#2675) 1b73a281 fix(buffer): treat multi-grapheme cell symbols as single-width (#2697) 3c920161 build(deps): bump release-plz/action from 0.5.130 to 0.5.131 (#2656) ee3cfb03 build(deps): bump thiserror from 2.0.19 to 2.0.20 (#2718) 6f8cec93 build(deps): bump zizmorcore/zizmor-action from 0.5.7 to 0.6.2 (#2701) fde2d4a9 build(deps): bump DavidAnson/markdownlint-cli2-action from 23.2.0 to 24.2.0 (#2699) 5147cf4d test: cover and document Paragraph/Text/Line/Span style interactions (#2693) 63db5f58 fix(gauge): include cell after label in filled area (#2579) 0c8f1c7b build(deps): bump actions/checkout from 7.0.0 to 7.0.1 (#2659) c64fac0d chore(clippy): fix new Rust lints (#2728) a52adf36 fix(canvas): ignore non-finite coordinates (#2722) ff3891ab fix(terminal): make insert_before a no-op when the terminal has no rows (#2723) 2e69f327 fix(buffer): clamp forced trailing range to the buffer length (#2696) 527e1df9 fix(examples): use uppercase H/L for shifted color change in table example (#2724) 5ec2f6cc fix(examples): allow --unicode=false to disable unicode symbols (#2712) bb4cb76f fix(core): save and restore cursor position (#2694) ff2d5c6b build(deps): bump Swatinem/rust-cache from 2.9.1 to 2.9.2 (#2717) 3025562e build(deps): bump tombi-toml/setup-tombi from 1.2.0 to 1.4.0 (#2716) 5195911b build(deps): bump time from 0.3.54 to 0.3.55 (#2719) 31809ba9 docs(layout): advertise constraint explorer (#2711) 60c8af44 build(deps): bump clap from 4.6.3 to 4.6.6 (#2708) c719423e build(deps): bump instability from 0.3.12 to 0.3.13 (#2707) e879ef6e build(deps): bump line-clipping from 0.3.7 to 0.3.8 (#2705) a51f2142 build(deps): bump crate-ci/typos from 1.47.2 to 1.49.0 (#2703) 60a038fd build(deps): bump lru from 0.18.1 to 0.18.2 (#2704) 86699d7c build(deps): bump dtolnay/rust-toolchain from 2c7215f132e9ebf062739d9130488b56d53c060c to 6c977a6ca4077a0ceb28ffbe03f59d46e9ac8772 (#2702) 5b016b67 docs: fix broken Demo and Demo2 images in examples README (#2692) 681d9ae8 build(deps): bump octocrab from 0.54.0 to 0.54.1 (#2677) fa6e2505 docs(core): close palette name divs on their own line (#2687) 7c93417b build(deps): raise minimum palette to 0.7.7 (#2688) 3d8639cb docs(core): clarify Rect::contains half-open bounds (#2671) 79861925 build(deps): bump taiki-e/install-action from 2.83.2 to 2.84.0 (#2657) a2ca2df5 build(deps): bump serde_json from 1.0.150 to 1.0.151 (#2661) 72d36578 build(deps): bump dtolnay/rust-toolchain from fa04a1451ff1842e2626ccb99004d0195b455a88 to 2c7215f132e9ebf062739d9130488b56d53c060c (#2658) 369d264c build(deps): bump bitflags from 2.13.0 to 2.13.1 (#2660) 00175fc2 build(deps): bump thiserror from 2.0.18 to 2.0.19 (#2662) 4c334779 chore(ci): pin nightly toolchain for cargo-udeps (#2665) f44928e9 build(deps): bump clap from 4.6.1 to 4.6.3 (#2664) 70e0acd2 build(deps): bump time from 0.3.53 to 0.3.54 (#2663) 506bedbf build(deps): bump actions/github-script from 8 to 9 (#2490) 6436c80c build(deps): bump lru from 0.18.0 to 0.18.1 (#2645) 6ffa0a91 build(deps): bump EmbarkStudios/cargo-deny-action from 2.0.20 to 2.1.1 (#2641) b345e9da build(deps): bump taiki-e/install-action from 2.82.9 to 2.83.2 (#2642) 4eea6bdc build(deps): bump octocrab from 0.53.1 to 0.54.0 (#2643) a5309f3c build(deps): bump compact_str from 0.9.1 to 0.10.0 (#2644) 845356d1 fix(ci): restore docs and advisory checks (#2648) de5168de build(deps): bump taiki-e/install-action from 2.82.7 to 2.82.9 (#2631) 2262d165 build(deps): bump dtolnay/rust-toolchain from 67ef31d5b988238dd797d409d6f9574278e20537 to fa04a1451ff1842e2626ccb99004d0195b455a88 (#2632) 1703cb58 build(deps): bump rand from 0.10.1 to 0.10.2 (#2634) 2c034ee0 build(deps): bump marocchino/sticky-pull-request-comment from 3.0.4 to 3.0.5 (#2636) d80dfe0e build(deps): bump tombi-toml/setup-tombi from 1.1.6 to 1.2.0 (#2637) 5500d0b1 build(deps): bump time from 0.3.51 to 0.3.53 (#2638) d301c75f fix(barchart): center wide value labels by display width (#2625) f8c78660 build(deps): bump taiki-e/install-action from 2.82.2 to 2.82.7 (#2623) d74dca5b build(deps): tune minimal dependency floors (#2627) 112d8e45 build(deps): bump tombi-toml/setup-tombi from 1.1.5 to 1.1.6 (#2624) 0ba8c749 build(deps): bump itertools from 0.14 to 0.15 (#2622) 38dbf1ae build(deps): bump time from 0.3.49 to 0.3.51 (#2615) 83d694eb build(deps): bump taiki-e/install-action from 2.81.8 to 2.82.2 (#2616) 1ab3dd46 build(deps): bump rust-lang/crates-io-auth-action from 1.0.4 to 1.0.5 (#2617) 40030e42 build(deps): bump dtolnay/rust-toolchain from 3c5f7ea28cd621ae0bf5283f0e981fb97b8a7af9 to 67ef31d5b988238dd797d409d6f9574278e20537 (#2618) 51df76e9 build(deps): bump zizmorcore/zizmor-action from 0.5.6 to 0.5.7 (#2614) 479fe5b1 build(deps): bump actions/checkout from 6.0.3 to 7.0.0 (#2613) 732f4f49 build(deps): bump tombi-toml/setup-tombi from 1.1.3 to 1.1.5 (#2612) 1ff0fff1 chore: remove deprecated Cargo authors metadata (#2611) git-subtree-dir: vendor/ratatui git-subtree-split: 5a28bec16d3b67dd867b9d03f6ca90d1f61250b4
Sync vendor/ratatui with upstream main (5a28bec, 241 commits since the fork's base). flyline keeps the fork's inline viewport model: positions relative to the viewport top, tracked in memory, never read back from the terminal. Where upstream rewrote the same code for its absolute model, the fork's version stays: - set_viewport_height, compute_inline_size and inline resize/clear keep the fork's behaviour. Upstream's with_cursor_position and insert_before (now in insert.rs) are dropped; they need absolute coordinates. - Cursor visibility uses upstream's CursorVisibility, with the fork's dedup of hide/show. backend_mut() does not reset it to Unknown, because flyline calls it every frame for synchronized output, and re-sending "show cursor" each frame re-arms the blink (upstream #2752). Adopted from upstream: save/restore cursor position (#2694, used by Fixed viewports), the scrolling-region trait split (#2121), wide-glyph and VS16 cursor tracking in Backend::draw (#2686, #2721, #2735), custom underlines, and the dependency bumps. The fork's skip of cells hidden behind wide glyphs moves out of draw(), where it dropped the glyph itself now that the diff emits the trailing cell first (#2686), and stays in draw_relative_line(), which also gets the VS16 fix. Tests that asserted upstream's absolute model, or resize behaviour the fork had turned off, now assert what the fork does. They had been failing since the fork was cut. All vendored ratatui crates' tests pass. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Re-point intra-doc links at renamed or moved items, turn links to private or removed items into code spans, and wrap bare URLs. src/cli.rs's doc comments are clap's --help text, which README.md mirrors, so that module allows the rustdoc lints instead of changing the help output. CI and AGENTS.md now build the docs with RUSTDOCFLAGS="-D warnings". Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…na patches Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Checks whether each vendored patch is still needed, drops the ones that aren't, and syncs vendor/ratatui with upstream.
Are the patches needed?
main, flyline fails with 23 errors across 15 fork-only APIs (viewport_top/set_viewport_top,inline_cursor_x/y,reset_inline_cursor,draw_relative_line,set_cursor_column,begin/end_synchronized_update,clear_screen,previous_buffer_mut,Cell::symbol_opt,Frame::set_cursor_visibility).termina: dropped patches
select(2)timeout itself, so termina now requires rustix ≥ 1.1.5.HashonModifiers, the text-area pixel-size response, and the SGR mouse DEC mode reports. Nothing uses or queries them.Cursor::goto. flyline now uses upstream'sCursor::default_position().ratatui: merged upstream main (241 commits)
The fork and upstream use different inline-viewport models. The fork tracks the cursor relative to the viewport top and never queries the terminal; upstream uses absolute coordinates. flyline depends on the fork's model, so where both rewrote the same code, the fork's version stays.
Taken from upstream:
Backend::draw(#2686, #2721, #2735)timeis gone from the tree.Kept from the fork, or dropped from upstream:
set_viewport_height, resize and clear.with_cursor_positionandinsert_before, since both need absolute coordinates.backend_mut()doesn't reset the tracked cursor visibility. flyline calls it every frame for synchronized output, and resetting would re-send "show cursor" every frame and restart the blink (the problem upstream #2752 fixed).One real conflict: upstream's diff now emits a wide glyph's trailing cell before the glyph (#2686). The fork's hidden-cell skip in
draw()would then drop the glyph itself. The skip now lives only indraw_relative_line(), which walks cells left to right; that function also gets the VS16 fix.Stale tests: some vendored tests asserted upstream's absolute model, or resize behaviour the fork had switched off. They had been failing since the fork was cut. They now assert the fork's behaviour.
Also
RUSTDOCFLAGS="-D warnings".src/cli.rsallows those rustdoc lints instead of changing its doc comments, because they are clap's--helptext, which the README mirrors.Testing
cargo fmt -- --check, clippy-D warnings,cargo docwith-D warnings,cargo test --lib --workspace(1096 passed), MSRV 1.91 check, andcargo deny checkall pass locally.ratatui --all-featuresall pass (2375 tests). termina: 34 passed.HISTFILE=/dev/nullpasses.Merge with a merge commit (not squash), so
git subtree pullkeeps working.🤖 Generated with Claude Code