Skip to content

[CTX-0060] Implement scrollback search and selection persistence #94

Closed

Description

@Xuepoo

Implement scrollback search and selection persistence. Gates: cargo test, just check.

CarryCtx: CTX-0060

  • bitty-term-state: bounded search (search.rs) headless deterministic over scrollback + live grid, SEARCH_MAX_PATTERN_LEN 256, SEARCH_MAX_RESULTS 1000, case handling, bounded heap
  • bitty-ui: PersistentSelection buffer-anchored (BufferPos, line_id validation, scroll/resize/prune resilience, View-aware conversion) with S-1..S-5 review fixes
  • bitty-runtime: Runtime::search / search_case_sensitive / persistent_selection / restore_persistent_selection / persistent_selection_text wiring
  • Tests: crates/bitty-runtime/tests/scrollback_search_selection_persistence.rs (9 headless) + search unit coverage; gates: cargo check PASS, clippy -D warnings PASS, cargo test PASS, just check 28 files 0 issues

Refs: CTX-0060

Activity

  1. added
    feat
    area:term
    on Aug 29, 2026
  2. added this to the v0.0.1 milestone on Aug 29, 2026
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

    area:termfeat

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions