Skip to content

[BUG]: line hides leading parenthesis in extglob #856

Closed

Description

@Sombody101

Describe the Bug

The leading parenthesis is hidden when prefixed with an exclamation point, but still functions correctly when running.

Environment & Version Information

flyline 1.4.0
git hash: 34e0833
build mode: release
build datetime: 2026-07-26T18:13:41Z
build target: x86_64-unknown-linux-gnu
rustc version: rustc 1.97.1 (8bab26f4f 2026-07-14)

Running in: Bash 5.2.21(1)-release
shell: /bin/bash

Running in: xterm-256color
program: unknown
program version: unknown
locale: C.UTF-8 (LC_ALL: unknown, LC_CTYPE: unknown)

Running in: Ubuntu 24.04.4 LTS (kernel 6.6.87.2-microsoft-standard-WSL2 x86_64)
system linker: unknown
dynamic linker: unknown

Running on: AMD Ryzen 7 9700X 8-Core Processor (16 cores)

Running in: a simulation

Debug Logs (Optional / If Necessary)

Click to expand logs
2026-07-29T17:10:23.441570 [DEBUG] (pid=2750) src/app/tab_completion.rs:238: Completion context: CompletionContext {
    buffer: "flyline log set-level debug",
    context: SubString {
        s: "flyline log set-level debug",
        start: 0,
    },
    cursor_byte_pos: 27,
    word_under_cursor: SubString {
        s: "debug",
        start: 22,
    },
}
2026-07-29T17:10:23.441618 [DEBUG] (pid=2750) src/app/tab_completion.rs:243: Processing completion type: CommandComp { command_word: "flyline" }
2026-07-29T17:10:23.441627 [DEBUG] (pid=2750) src/app/tab_completion.rs:56: Checking for alias for command word 'flyline': None
2026-07-29T17:10:23.441634 [INFO] (pid=2750) src/cli.rs:120: Completing flyline args after: "flyline log set-level "
2026-07-29T17:10:23.441661 [INFO] (pid=2750) src/cli.rs:182: Completing command: cursor_byte: 27, parsed args: ["flyline", "log", "set-level", "debug"], index: 3, 
2026-07-29T17:10:23.441945 [INFO] (pid=2750) src/cli.rs:220: [
    CompletionCandidate {
        value: "debug",
        help: None,
        id: None,
        tag: Some(
            StyledStr(
                "<LEVEL>",
            ),
        ),
        display_order: None,
        hidden: false,
    },
]
2026-07-29T17:10:23.441970 [DEBUG] (pid=2750) src/app/tab_completion.rs:290: CompType::CommandComp found 1 completions for command word: flyline
2026-07-29T17:10:23.441972 [INFO] (pid=2750) src/app/tab_completion.rs:1282: Child process completed
2026-07-29T17:10:23.442216 [INFO] (pid=310) src/app/tab_completion.rs:1347: Tab completion process (pid 2750) reaped in reader thread
2026-07-29T17:10:23.442379 [INFO] (pid=310) src/app/mod.rs:788: Exiting with command: flyline log set-level debug
2026-07-29T17:10:23.442452 [DEBUG] (pid=310) src/app/mod.rs:241: Final state: WithCommand("flyline log set-level debug")
2026-07-29T17:10:23.442460 [INFO] (pid=310) src/lib.rs:222: ---------------------- App finished ------------------------
2026-07-29T17:10:23.442494 [DEBUG] (pid=310) src/cli.rs:966: flyline called with args: ["log", "set-level", "debug"]
2026-07-29T17:10:23.442600 [DEBUG] (pid=310) src/cli.rs:973: Parsed flyline arguments: FlylineArgs { version: false, load_zsh_history: None, show_animations: None, matrix_animation: None, frame_rate: None, mouse_mode: None, send_shell_integration_codes: None, enable_extended_key_codes: None, enable_easter_eggs: None, command: Some(Log { subcommand: SetLevel { level: Debug } }) }
2026-07-29T17:10:23.442606 [INFO] (pid=310) src/cli.rs:1355: Log level set to Debug
2026-07-29T17:10:23.442630 [INFO] (pid=310) src/lib.rs:153: ---------------------- Starting app ------------------------
2026-07-29T17:10:23.442845 [DEBUG] (pid=310) src/prompt_manager.rs:1406: Animation count: 0
2026-07-29T17:10:23.442850 [DEBUG] (pid=310) src/prompt_manager.rs:1424: Widget count: 1
2026-07-29T17:10:23.442867 [INFO] (pid=310) src/bash_funcs.rs:425: Getting cached reserved words
2026-07-29T17:10:23.443144 [INFO] (pid=310) src/app/mod.rs:417: Warming bash caches finished in 322.179µs
2026-07-29T17:10:23.443155 [DEBUG] (pid=310) src/prompt_manager.rs:1427: CWD for prompt detection: "//", HOME: Some("/home/evan")
2026-07-29T17:10:23.443186 [DEBUG] (pid=310) src/prompt_manager.rs:1460: Parsed RPS1: []
2026-07-29T17:10:23.443386 [DEBUG] (pid=310) src/history.rs:88: Loaded 3733 bash history entries
2026-07-29T17:10:23.443388 [DEBUG] (pid=310) src/history.rs:90: bash_entries => HistoryEntry { timestamp: Some(1785366623), index: 3732, command: "flyline log set-level debug", raw_output: None, syntax_highlighted: OnceCell(<uninit>) }
2026-07-29T17:10:23.443398 [DEBUG] (pid=310) src/history.rs:90: bash_entries => HistoryEntry { timestamp: Some(1785366609), index: 3731, command: "c", raw_output: None, syntax_highlighted: OnceCell(<uninit>) }
2026-07-29T17:10:23.443400 [DEBUG] (pid=310) src/history.rs:90: bash_entries => HistoryEntry { timestamp: Some(1785366605), index: 3730, command: "flyline log copy --last 10s", raw_output: None, syntax_highlighted: OnceCell(<uninit>) }
2026-07-29T17:10:23.444174 [INFO] (pid=310) src/app/mod.rs:634: Resizing inline viewport from 0 to 49 rows
2026-07-29T17:10:23.447561 [INFO] (pid=310) src/app/mod.rs:425: Warming path cache finished in 4.674329ms
2026-07-29T17:10:24.100077 [DEBUG] (pid=2754) src/app/tab_completion.rs:238: Completion context: CompletionContext {
    buffer: "e",
    context: SubString {
        s: "e",
        start: 0,
    },
    cursor_byte_pos: 1,
    word_under_cursor: SubString {
        s: "e",
        start: 0,
    },
}
2026-07-29T17:10:24.100122 [DEBUG] (pid=2754) src/app/tab_completion.rs:243: Processing completion type: FirstWord
2026-07-29T17:10:24.100128 [DEBUG] (pid=2754) src/app/tab_completion.rs:250: CompType::FirstWord for: e
2026-07-29T17:10:24.100130 [DEBUG] (pid=2754) src/app/tab_completion.rs:592: Generating first word completions for: 'e'
2026-07-29T17:10:24.100709 [DEBUG] (pid=2754) src/app/tab_completion.rs:253: CompType::FirstWord found 49 completions for prefix: e
2026-07-29T17:10:24.100717 [INFO] (pid=2754) src/app/tab_completion.rs:1282: Child process completed
2026-07-29T17:10:24.100938 [DEBUG] (pid=310) src/active_suggestions.rs:2105: Applying fuzzy filter with raw_pattern "e" on 49 processed suggestions (0 still unprocessed)
2026-07-29T17:10:24.100982 [INFO] (pid=310) src/app/tab_completion.rs:1347: Tab completion process (pid 2754) reaped in reader thread
2026-07-29T17:10:24.205695 [DEBUG] (pid=310) src/app/mod.rs:1801: Word under cursor changed slightly ('e' -> 'ec'), applying fuzzy filter to tab completion suggestions
2026-07-29T17:10:24.205704 [DEBUG] (pid=310) src/active_suggestions.rs:2105: Applying fuzzy filter with raw_pattern "ec" on 49 processed suggestions (0 still unprocessed)
2026-07-29T17:10:24.299709 [DEBUG] (pid=310) src/app/mod.rs:1801: Word under cursor changed slightly ('ec' -> 'ech'), applying fuzzy filter to tab completion suggestions
2026-07-29T17:10:24.299718 [DEBUG] (pid=310) src/active_suggestions.rs:2105: Applying fuzzy filter with raw_pattern "ech" on 49 processed suggestions (0 still unprocessed)
2026-07-29T17:10:24.413576 [DEBUG] (pid=310) src/app/mod.rs:1801: Word under cursor changed slightly ('ech' -> 'echo'), applying fuzzy filter to tab completion suggestions
2026-07-29T17:10:24.413594 [DEBUG] (pid=310) src/active_suggestions.rs:2105: Applying fuzzy filter with raw_pattern "echo" on 49 processed suggestions (0 still unprocessed)
2026-07-29T17:10:24.534998 [DEBUG] (pid=310) src/app/mod.rs:1741: Word under cursor became shorter than original wuc ('e' -> '')
2026-07-29T17:10:24.535535 [DEBUG] (pid=2756) src/app/tab_completion.rs:238: Completion context: CompletionContext {
    buffer: "echo ",
    context: SubString {
        s: "echo ",
        start: 0,
    },
    cursor_byte_pos: 5,
    word_under_cursor: SubString {
        s: "",
        start: 5,
    },
}
2026-07-29T17:10:24.535579 [DEBUG] (pid=2756) src/app/tab_completion.rs:243: Processing completion type: CommandComp { command_word: "echo" }
2026-07-29T17:10:24.535589 [DEBUG] (pid=2756) src/app/tab_completion.rs:56: Checking for alias for command word 'echo': None
2026-07-29T17:10:24.535592 [DEBUG] (pid=2756) src/bash_funcs.rs:959: run_programmable_completions called with
full_command='echo '
command_word='echo'
word_under_cursor=''
cursor_byte_pos=5
word_under_cursor_byte_end=5
2026-07-29T17:10:24.551400 [DEBUG] (pid=2756) src/bash_funcs.rs:1206: COMPSPEC options flags set for flag 5:
2026-07-29T17:10:24.551417 [DEBUG] (pid=2756) src/bash_funcs.rs:1224:  - Reserved
2026-07-29T17:10:24.551422 [DEBUG] (pid=2756) src/bash_funcs.rs:1224:  - Filenames
2026-07-29T17:10:24.551426 [INFO] (pid=2756) src/bash_funcs.rs:893: useful_compspec_ran: registered compspec function for 'echo' is: _minimal
2026-07-29T17:10:24.551429 [INFO] (pid=2756) src/bash_funcs.rs:1030: run_programmable_completions: useful_compspec_ran for 'echo' returned: false
2026-07-29T17:10:24.551444 [DEBUG] (pid=2756) src/bash_funcs.rs:1046: Programmable completions found: ProgrammableCompleteReturn {
    completions: [
        "sbin",
        "sbin.usr-is-merged",
        "proc",
        "snap",
        "mnt",
        "Docker",
        "lib64",
        "bin.usr-is-merged",
        "lib",
        "opt",
        "dev",
        "lib.usr-is-merged",
        "etc",
        "usr",
        "var",
        "sys",
        "init",
        "media",
        "tmp",
        "lost+found",
        "root",
        "srv",
        "boot",
        "run",
        "home",
        "bin",
    ],
    flags: CompletionFlags {
        quote_type: None,
        readline_default_fallback_desired: false,
        filename_quoting_desired: true,
        filename_completion_desired: true,
        no_suffix_desired: false,
        suffix_character: ' ',
        bash_default_fallback_desired: false,
        nosort_desired: false,
        some_dont_end_in_equal_sign: true,
    },
    compspec_was_useful: false,
}
2026-07-29T17:10:24.551459 [DEBUG] (pid=2756) src/app/tab_completion.rs:94: Programmable completion results for command: echo 
2026-07-29T17:10:24.551461 [DEBUG] (pid=2756) src/app/tab_completion.rs:98: Completions: ProgrammableCompleteReturn {
    completions: [
        "sbin",
        "sbin.usr-is-merged",
        "proc",
        "snap",
        "mnt",
        "Docker",
        "lib64",
        "bin.usr-is-merged",
        "lib",
        "opt",
        "dev",
        "lib.usr-is-merged",
        "etc",
        "usr",
        "var",
        "sys",
        "init",
        "media",
        "tmp",
        "lost+found",
        "root",
        "srv",
        "boot",
        "run",
        "home",
        "bin",
    ],
    flags: CompletionFlags {
        quote_type: None,
        readline_default_fallback_desired: false,
        filename_quoting_desired: true,
        filename_completion_desired: true,
        no_suffix_desired: false,
        suffix_character: ' ',
        bash_default_fallback_desired: false,
        nosort_desired: false,
        some_dont_end_in_equal_sign: true,
    },
    compspec_was_useful: false,
}
2026-07-29T17:10:24.551468 [DEBUG] (pid=2756) src/app/tab_completion.rs:290: CompType::CommandComp found 26 completions for command word: echo
2026-07-29T17:10:24.551997 [INFO] (pid=2756) src/app/tab_completion.rs:1282: Child process completed
2026-07-29T17:10:24.552293 [INFO] (pid=310) src/app/tab_completion.rs:1347: Tab completion process (pid 2756) reaped in reader thread
2026-07-29T17:10:24.578416 [DEBUG] (pid=310) src/active_suggestions.rs:2105: Applying fuzzy filter with raw_pattern "" on 26 processed suggestions (0 still unprocessed)
2026-07-29T17:10:24.578441 [DEBUG] (pid=310) src/app/mod.rs:1748: Word under cursor unchanged ('SubString { s: "", start: 5 }'), keeping existing tab completion suggestions
2026-07-29T17:10:24.922783 [DEBUG] (pid=310) src/app/mod.rs:1801: Word under cursor changed slightly ('' -> '!'), applying fuzzy filter to tab completion suggestions
2026-07-29T17:10:24.922794 [DEBUG] (pid=310) src/active_suggestions.rs:2105: Applying fuzzy filter with raw_pattern "!" on 26 processed suggestions (0 still unprocessed)
2026-07-29T17:10:25.227604 [INFO] (pid=310) src/app/auto_close.rs:56: Inserted auto-closing char ')' at byte position 7
2026-07-29T17:10:25.227621 [DEBUG] (pid=310) src/app/mod.rs:1772: Word under cursor changed significantly ('SubString { s: "!", start: 5 }' -> 'SubString { s: ")", start: 7 }'), discarding tab completion suggestions
2026-07-29T17:10:25.228174 [DEBUG] (pid=2765) src/app/tab_completion.rs:238: Completion context: CompletionContext {
    buffer: "echo !()",
    context: SubString {
        s: "echo !()",
        start: 0,
    },
    cursor_byte_pos: 7,
    word_under_cursor: SubString {
        s: ")",
        start: 7,
    },
}
2026-07-29T17:10:25.228218 [DEBUG] (pid=2765) src/app/tab_completion.rs:243: Processing completion type: CommandComp { command_word: "echo" }
2026-07-29T17:10:25.228227 [DEBUG] (pid=2765) src/app/tab_completion.rs:56: Checking for alias for command word 'echo': None
2026-07-29T17:10:25.228232 [DEBUG] (pid=2765) src/bash_funcs.rs:959: run_programmable_completions called with
full_command='echo !()'
command_word='echo'
word_under_cursor=')'
cursor_byte_pos=8
word_under_cursor_byte_end=8
2026-07-29T17:10:25.243412 [DEBUG] (pid=2765) src/bash_funcs.rs:1206: COMPSPEC options flags set for flag 1:
2026-07-29T17:10:25.243424 [DEBUG] (pid=2765) src/bash_funcs.rs:1224:  - Reserved
2026-07-29T17:10:25.243430 [INFO] (pid=2765) src/bash_funcs.rs:893: useful_compspec_ran: registered compspec function for 'echo' is: _minimal
2026-07-29T17:10:25.243432 [INFO] (pid=2765) src/bash_funcs.rs:1030: run_programmable_completions: useful_compspec_ran for 'echo' returned: false
2026-07-29T17:10:25.243437 [DEBUG] (pid=2765) src/bash_funcs.rs:1046: Programmable completions found: ProgrammableCompleteReturn {
    completions: [],
    flags: CompletionFlags {
        quote_type: None,
        readline_default_fallback_desired: false,
        filename_quoting_desired: true,
        filename_completion_desired: false,
        no_suffix_desired: false,
        suffix_character: ' ',
        bash_default_fallback_desired: false,
        nosort_desired: false,
        some_dont_end_in_equal_sign: false,
    },
    compspec_was_useful: false,
}
2026-07-29T17:10:25.243448 [DEBUG] (pid=2765) src/app/tab_completion.rs:94: Programmable completion results for command: echo !()
2026-07-29T17:10:25.243450 [DEBUG] (pid=2765) src/app/tab_completion.rs:98: Completions: ProgrammableCompleteReturn {
    completions: [],
    flags: CompletionFlags {
        quote_type: None,
        readline_default_fallback_desired: false,
        filename_quoting_desired: true,
        filename_completion_desired: false,
        no_suffix_desired: false,
        suffix_character: ' ',
        bash_default_fallback_desired: false,
        nosort_desired: false,
        some_dont_end_in_equal_sign: false,
    },
    compspec_was_useful: false,
}
2026-07-29T17:10:25.243454 [DEBUG] (pid=2765) src/app/tab_completion.rs:290: CompType::CommandComp found 0 completions for command word: echo
2026-07-29T17:10:25.243456 [DEBUG] (pid=2765) src/app/tab_completion.rs:243: Processing completion type: FilenameExpansion
2026-07-29T17:10:25.243457 [DEBUG] (pid=2765) src/app/tab_completion.rs:504: CompType::FilenameExpansion for: )
2026-07-29T17:10:25.243460 [DEBUG] (pid=2765) src/app/tab_completion.rs:769: found quote type: None
2026-07-29T17:10:25.243468 [DEBUG] (pid=2765) src/app/tab_completion.rs:700: Performing glob expansion for expanded: PathPatternExpansion {
    raw_prefix: "",
    expanded_prefix: "/",
    rhs_pattern: "*)",
}
2026-07-29T17:10:25.243471 [DEBUG] (pid=2765) src/app/tab_completion.rs:701: Using glob_patterns ["/*)"]
2026-07-29T17:10:25.243541 [DEBUG] (pid=2765) src/app/tab_completion.rs:515: CompType::FilenameExpansion found 0 completions for pattern: )
2026-07-29T17:10:25.243542 [DEBUG] (pid=2765) src/app/tab_completion.rs:243: Processing completion type: FuzzyCommandComp { command_word: "echo" }
2026-07-29T17:10:25.243543 [DEBUG] (pid=2765) src/app/tab_completion.rs:310: CompType::FuzzyCommandComp for: )
2026-07-29T17:10:25.243544 [DEBUG] (pid=2765) src/app/tab_completion.rs:243: Processing completion type: FuzzyFilenameExpansion
2026-07-29T17:10:25.243545 [DEBUG] (pid=2765) src/app/tab_completion.rs:537: CompType::FuzzyFilenameExpansion for: )
2026-07-29T17:10:25.243563 [DEBUG] (pid=2765) src/app/tab_completion.rs:544: CompType::FuzzyFilenameExpansion found 0 completions for pattern: )
2026-07-29T17:10:25.243564 [DEBUG] (pid=2765) src/app/tab_completion.rs:561: No completion types produced result
2026-07-29T17:10:25.243565 [INFO] (pid=2765) src/app/tab_completion.rs:1282: Child process completed
2026-07-29T17:10:25.243853 [INFO] (pid=310) src/app/tab_completion.rs:1347: Tab completion process (pid 2765) reaped in reader thread
2026-07-29T17:10:26.042822 [DEBUG] (pid=2774) src/app/tab_completion.rs:238: Completion context: CompletionContext {
    buffer: "echo !(m)",
    context: SubString {
        s: "m",
        start: 7,
    },
    cursor_byte_pos: 8,
    word_under_cursor: SubString {
        s: "m",
        start: 7,
    },
}
2026-07-29T17:10:26.042869 [DEBUG] (pid=2774) src/app/tab_completion.rs:243: Processing completion type: FirstWord
2026-07-29T17:10:26.042873 [DEBUG] (pid=2774) src/app/tab_completion.rs:250: CompType::FirstWord for: m
2026-07-29T17:10:26.042877 [DEBUG] (pid=2774) src/app/tab_completion.rs:592: Generating first word completions for: 'm'
2026-07-29T17:10:26.043443 [DEBUG] (pid=2774) src/app/tab_completion.rs:253: CompType::FirstWord found 91 completions for prefix: m
2026-07-29T17:10:26.043453 [INFO] (pid=2774) src/app/tab_completion.rs:1282: Child process completed
2026-07-29T17:10:26.043736 [DEBUG] (pid=310) src/active_suggestions.rs:2105: Applying fuzzy filter with raw_pattern "m" on 91 processed suggestions (0 still unprocessed)
2026-07-29T17:10:26.043755 [INFO] (pid=310) src/app/tab_completion.rs:1347: Tab completion process (pid 2774) reaped in reader thread
2026-07-29T17:10:26.227463 [DEBUG] (pid=310) src/app/mod.rs:1801: Word under cursor changed slightly ('m' -> 'mn'), applying fuzzy filter to tab completion suggestions
2026-07-29T17:10:26.227477 [DEBUG] (pid=310) src/active_suggestions.rs:2105: Applying fuzzy filter with raw_pattern "mn" on 91 processed suggestions (0 still unprocessed)
2026-07-29T17:10:26.328956 [DEBUG] (pid=310) src/app/mod.rs:1801: Word under cursor changed slightly ('mn' -> 'mnt'), applying fuzzy filter to tab completion suggestions
2026-07-29T17:10:26.328966 [DEBUG] (pid=310) src/active_suggestions.rs:2105: Applying fuzzy filter with raw_pattern "mnt" on 91 processed suggestions (0 still unprocessed)
2026-07-29T17:10:26.915257 [DEBUG] (pid=310) src/app/mod.rs:1748: Word under cursor unchanged ('SubString { s: "mnt", start: 7 }'), keeping existing tab completion suggestions
2026-07-29T17:10:26.915454 [INFO] (pid=310) src/app/mod.rs:788: Exiting with command: echo !(mnt)
2026-07-29T17:10:26.915547 [DEBUG] (pid=310) src/app/mod.rs:241: Final state: WithCommand("echo !(mnt)")
2026-07-29T17:10:26.915555 [INFO] (pid=310) src/lib.rs:222: ---------------------- App finished ------------------------
2026-07-29T17:10:26.915699 [INFO] (pid=310) src/lib.rs:153: ---------------------- Starting app ------------------------
2026-07-29T17:10:26.915883 [DEBUG] (pid=310) src/prompt_manager.rs:1406: Animation count: 0
2026-07-29T17:10:26.915888 [DEBUG] (pid=310) src/prompt_manager.rs:1424: Widget count: 1
2026-07-29T17:10:26.915920 [INFO] (pid=310) src/bash_funcs.rs:425: Getting cached reserved words
2026-07-29T17:10:26.916202 [INFO] (pid=310) src/app/mod.rs:417: Warming bash caches finished in 338.234µs
2026-07-29T17:10:26.916222 [DEBUG] (pid=310) src/prompt_manager.rs:1427: CWD for prompt detection: "//", HOME: Some("/home/evan")
2026-07-29T17:10:26.916270 [DEBUG] (pid=310) src/prompt_manager.rs:1460: Parsed RPS1: []
2026-07-29T17:10:26.916530 [DEBUG] (pid=310) src/history.rs:88: Loaded 3734 bash history entries
2026-07-29T17:10:26.916532 [DEBUG] (pid=310) src/history.rs:90: bash_entries => HistoryEntry { timestamp: Some(1785366626), index: 3733, command: "echo !(mnt)", raw_output: None, syntax_highlighted: OnceCell(<uninit>) }
2026-07-29T17:10:26.916535 [DEBUG] (pid=310) src/history.rs:90: bash_entries => HistoryEntry { timestamp: Some(1785366623), index: 3732, command: "flyline log set-level debug", raw_output: None, syntax_highlighted: OnceCell(<uninit>) }
2026-07-29T17:10:26.916537 [DEBUG] (pid=310) src/history.rs:90: bash_entries => HistoryEntry { timestamp: Some(1785366609), index: 3731, command: "c", raw_output: None, syntax_highlighted: OnceCell(<uninit>) }
2026-07-29T17:10:26.917272 [INFO] (pid=310) src/app/mod.rs:634: Resizing inline viewport from 0 to 46 rows
2026-07-29T17:10:26.920494 [INFO] (pid=310) src/app/mod.rs:425: Warming path cache finished in 4.55005ms
2026-07-29T17:10:28.251543 [DEBUG] (pid=2778) src/app/tab_completion.rs:238: Completion context: CompletionContext {
    buffer: "flyline log copy --last 10s",
    context: SubString {
        s: "flyline log copy --last 10s",
        start: 0,
    },
    cursor_byte_pos: 27,
    word_under_cursor: SubString {
        s: "10s",
        start: 24,
    },
}
2026-07-29T17:10:28.251589 [DEBUG] (pid=2778) src/app/tab_completion.rs:243: Processing completion type: CommandComp { command_word: "flyline" }
2026-07-29T17:10:28.251599 [DEBUG] (pid=2778) src/app/tab_completion.rs:56: Checking for alias for command word 'flyline': None
2026-07-29T17:10:28.251608 [INFO] (pid=2778) src/cli.rs:120: Completing flyline args after: "flyline log copy --last "
2026-07-29T17:10:28.251630 [INFO] (pid=2778) src/cli.rs:182: Completing command: cursor_byte: 27, parsed args: ["flyline", "log", "copy", "--last", "10s"], index: 4, 
2026-07-29T17:10:28.251883 [INFO] (pid=2778) src/cli.rs:220: []
2026-07-29T17:10:28.251896 [DEBUG] (pid=2778) src/app/tab_completion.rs:290: CompType::CommandComp found 0 completions for command word: flyline
2026-07-29T17:10:28.251898 [DEBUG] (pid=2778) src/app/tab_completion.rs:243: Processing completion type: FilenameExpansion
2026-07-29T17:10:28.251900 [DEBUG] (pid=2778) src/app/tab_completion.rs:504: CompType::FilenameExpansion for: 10s
2026-07-29T17:10:28.251902 [DEBUG] (pid=2778) src/app/tab_completion.rs:769: found quote type: None
2026-07-29T17:10:28.251905 [DEBUG] (pid=2778) src/app/tab_completion.rs:700: Performing glob expansion for expanded: PathPatternExpansion {
    raw_prefix: "",
    expanded_prefix: "/",
    rhs_pattern: "10s*",
}
2026-07-29T17:10:28.251906 [DEBUG] (pid=2778) src/app/tab_completion.rs:701: Using glob_patterns ["/10s*"]
2026-07-29T17:10:28.251971 [DEBUG] (pid=2778) src/app/tab_completion.rs:515: CompType::FilenameExpansion found 0 completions for pattern: 10s
2026-07-29T17:10:28.251972 [DEBUG] (pid=2778) src/app/tab_completion.rs:243: Processing completion type: FuzzyCommandComp { command_word: "flyline" }
2026-07-29T17:10:28.251973 [DEBUG] (pid=2778) src/app/tab_completion.rs:310: CompType::FuzzyCommandComp for: 10s
2026-07-29T17:10:28.251976 [DEBUG] (pid=2778) src/app/tab_completion.rs:56: Checking for alias for command word 'flyline': None
2026-07-29T17:10:28.251977 [INFO] (pid=2778) src/cli.rs:120: Completing flyline args after: "flyline log copy --last "
2026-07-29T17:10:28.251981 [INFO] (pid=2778) src/cli.rs:182: Completing command: cursor_byte: 25, parsed args: ["flyline", "log", "copy", "--last", "1"], index: 4, 
2026-07-29T17:10:28.252076 [INFO] (pid=2778) src/cli.rs:220: []
2026-07-29T17:10:28.252085 [DEBUG] (pid=2778) src/app/tab_completion.rs:363: CompType::FuzzyCommandComp found 0 completions for pattern: 0s
2026-07-29T17:10:28.252087 [DEBUG] (pid=2778) src/app/tab_completion.rs:243: Processing completion type: FuzzyFilenameExpansion
2026-07-29T17:10:28.252088 [DEBUG] (pid=2778) src/app/tab_completion.rs:537: CompType::FuzzyFilenameExpansion for: 10s
2026-07-29T17:10:28.252127 [DEBUG] (pid=2778) src/app/tab_completion.rs:544: CompType::FuzzyFilenameExpansion found 0 completions for pattern: 10s
2026-07-29T17:10:28.252128 [DEBUG] (pid=2778) src/app/tab_completion.rs:561: No completion types produced result
2026-07-29T17:10:28.252129 [INFO] (pid=2778) src/app/tab_completion.rs:1282: Child process completed
2026-07-29T17:10:28.252383 [INFO] (pid=310) src/app/tab_completion.rs:1347: Tab completion process (pid 2778) reaped in reader thread
2026-07-29T17:10:28.252556 [INFO] (pid=310) src/app/mod.rs:788: Exiting with command: flyline log copy --last 10s
2026-07-29T17:10:28.252667 [DEBUG] (pid=310) src/app/mod.rs:241: Final state: WithCommand("flyline log copy --last 10s")
2026-07-29T17:10:28.252675 [INFO] (pid=310) src/lib.rs:222: ---------------------- App finished ------------------------
2026-07-29T17:10:28.252710 [DEBUG] (pid=310) src/cli.rs:966: flyline called with args: ["log", "copy", "--last", "10s"]
2026-07-29T17:10:28.252818 [DEBUG] (pid=310) src/cli.rs:973: Parsed flyline arguments: FlylineArgs { version: false, load_zsh_history: None, show_animations: None, matrix_animation: None, frame_rate: None, mouse_mode: None, send_shell_integration_codes: None, enable_extended_key_codes: None, enable_easter_eggs: None, command: Some(Log { subcommand: Copy { last: Some("10s") } }) }

Steps to Reproduce

echo !(item)

Visually appears as:

echo !item)

But still functions correctly.

Activity

  1. added
    bug
    on Jul 29, 2026
  2. added a commit that references this issue on Aug 3, 2026
    412a349
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions