Skip to content

Improve flycomp integration, demo tape fixes etc#726

Merged
HalFrgrd merged 14 commits into
masterfrom
tweaks40
Jun 16, 2026
Merged

Improve flycomp integration, demo tape fixes etc#726
HalFrgrd merged 14 commits into
masterfrom
tweaks40

Conversation

@HalFrgrd

@HalFrgrd HalFrgrd commented Jun 16, 2026

Copy link
Copy Markdown
Owner

Add a configurable flycomp_output setting/CLI flag and write synthesized completion scripts to disk on success.

Improve flycomp error rendering (multi-line) and adjust shell-script evaluation flags; add basename fallback when detecting registered compspecs.

Minor UX/maintenance tweaks: tab-completion child signal/session setup, mouse pointer-shape rename, demo tape timing updates, and bump flycomp git revision.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR makes a set of small improvements across flycomp integration, tab-completion process behavior, and a few UX/demo tweaks. It extends Flyline’s ability to persist synthesized completion scripts, improves error display for flycomp failures, and updates some underlying integration details.

Changes:

  • Add a configurable flycomp_output setting/CLI flag and write synthesized completion scripts to disk on success.
  • Improve flycomp error rendering (multi-line) and adjust shell-script evaluation flags; add basename fallback when detecting registered compspecs.
  • Minor UX/maintenance tweaks: tab-completion child signal/session setup, mouse pointer-shape rename, demo tape timing updates, and bump flycomp git revision.

Reviewed changes

Copilot reviewed 12 out of 13 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
tapes/demo_overview.tape Slows typing speed to improve demo readability/stability.
tapes/demo_auto_tab_completion.tape Slows typing speed to improve demo readability/stability.
src/settings.rs Adds flycomp_output: Option<String> to persist a configurable output directory.
src/mouse_state.rs Renames/adjusts pointer shape used for hoverable/clickable UI elements.
src/cli.rs Adds --flycomp-output to configure where synthesized completions are written.
src/bash_symbols.rs Adds SEVAL flag constants used when evaluating synthesized scripts.
src/bash_funcs.rs Adds basename compspec lookup fallback; evaluates scripts with flags; writes completion scripts to disk; adds tests.
src/app/ui.rs Improves flycomp error output formatting by rendering multi-line errors cleanly.
src/app/tab_completion.rs Adjusts child-process session and signal handling for tab-completion fork path.
src/app/mod.rs Writes synthesized completion scripts to disk and improves error chaining for flycomp failures.
src/app/actions.rs Reorders default keybinding entries (no functional change intended).
Cargo.toml Bumps flycomp git revision.
Cargo.lock Updates lockfile for the bumped flycomp revision.

Comment thread src/app/mod.rs
Comment on lines 1406 to +1409
let thread_handle = std::thread::spawn(move || {
unsafe {
libc::signal(libc::SIGCHLD, libc::SIG_DFL);
}
@HalFrgrd HalFrgrd changed the title Various small improvements Improve flycomp integration, demo tape fixes etc Jun 16, 2026
@HalFrgrd HalFrgrd merged commit e130fe7 into master Jun 16, 2026
@HalFrgrd HalFrgrd deleted the tweaks40 branch June 16, 2026 21:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants