mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-03 06:41:14 -03:00
Merge pull request #11545
This commit is contained in:
13
.github/workflows/rust_checks.yml
vendored
13
.github/workflows/rust_checks.yml
vendored
@@ -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:
|
||||
|
||||
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user