Merge pull request #11545

This commit is contained in:
Johannes Altmanninger
2025-06-06 12:54:46 +02:00
2 changed files with 14 additions and 1 deletions

View File

@@ -32,6 +32,19 @@ jobs:
# into automatic CI failure day, so we don't do that.
run: cargo clippy --workspace --all-targets
rustdoc:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
- name: cargo doc
run: |
RUSTDOCFLAGS='-D warnings' cargo doc --workspace --all
- name: cargo doctest
run: |
cargo test --doc --workspace --all
# Disabling for now because it also checks "advisories",
# making CI fail for reasons unrelated to the patch
# cargo-deny:

View File

@@ -1561,7 +1561,7 @@ pub fn escape_code_length(code: &wstr) -> Option<usize> {
/// Midnight Commander tries to extract the last line of the prompt, and does so in a way that is
/// broken if you do '\r' after it like we normally do.
/// See https://midnight-commander.org/ticket/4258.
/// See <https://midnight-commander.org/ticket/4258>.
pub fn screen_set_midnight_commander_hack() {
MIDNIGHT_COMMANDER_HACK.store(true)
}