Repository navigation
v1.2.1
flyline v1.2.1 introduces major performance improvements, code quality refactoring, installer robustness, and vastly expanded target architecture/platform support.
π Key Features & Enhancements
β‘ Tab Completion & Suggestion Latency
- Reduced Flashing: Introduced placeholders in the tab completion window to minimize visual flashing/flickering during redraws.
- Latency Optimizations: Improved rendering and filtering latency when dealing with very large lists of completions.
π±οΈ Declarative Mouse Event Refactoring
- Re-architected mouse event processing (
on_mouse) out of a monolithic function into a declarative, context-aware action routing system in src/app/actions/mouse.rs. This mirrors the modular structure used for keyboard actions, simplifying debugging and feature additions.
π Pure Chained Auto-Completion Pipeline
- Consolidated the auto-suggest state machine in src/app/mod.rs into a single, clean
.or_else()chain. - Statically enforced read-only evaluation by typing the decision closure with an immutable reference (
app: &Self), shifting all mutations (like clearing user-dismissed states) safely to the execution phase. - Integrated special carry-over rules (e.g. carrying over matches if typing
-or.) and drag protections (preventing UI updates while dragging text or selecting elements).
π Expanded Platform & Architecture Support
We have added target compilation configurations inside the GitHub Actions release workflow for the following architectures and platforms:
- FreeBSD:
x86_64-unknown-freebsd - ARMv7 Linux:
armv7-unknown-linux-gnueabihf(Raspberry Pi 32-bit) - 32-Bit x86 Linux:
i686-unknown-linux-gnu - RISC-V 64 Linux:
riscv64gc-unknown-linux-gnu - PowerPC 64 LE Linux:
powerpc64le-unknown-linux-gnu
π‘οΈ Rate-Limit Immune Offline Installer
- Rebuilt the installation script install.sh to completely avoid querying the rate-limited GitHub REST API (
api.github.com). - Uses HTTP redirect location header parsing (supported via
curlorwget) to resolve the latest version tag, constructing the asset download URLs deterministically. This resolves all HTTP403 Forbiddenfailures in high-traffic testing and CI/CD pipelines.
π OSC 52 Clipboard Paste Integration
- Replaced raw stdout writing of the OSC 52 query sequence (
\x1b]52;c;?\x07) withcrossterm's command wrapperRequestClipboardContentsin the paste handler, matching standard crossterm design patterns.
π οΈ Bug Fixes & Dependency Upgrades
- Upgraded dependencies: Updated the
ctorcrate to1.0.7andcrosstermto the latest revision. - Pre-bash 4.4 Compatibility: Adjusted the pre-bash-4.4 shared-library constructor in src/lib.rs to use
#[ctor(unsafe)]to satisfy compiler safety checks introduced in newerctorreleases. - Environment Variable Styling: Added recognized and unrecognized environment variable highlighting in the formatted buffer.
- Prompt Rendering: Fixed the prompt filling logic when
PS1is empty.