Skip to content

feat(khipro): add Blinder mode with backslash trigger - #867

Merged
LeanBitLab merged 1 commit into
mainfrom
feat/khipro-blinder
Nov 18, 2026
Merged

LeanBitLab merged 1 commit into
mainfrom
feat/khipro-blinder

Conversation

@LeanBitLab

Copy link
Copy Markdown
Owner

Changes

  • Khipro Blinder mode, following the official bn-khipro-classic.mim spec: \ switches to plain Latin input (the trigger itself is not typed), ; returns to Bengali, ;; types a literal ;. The mode persists across words and resets when a new input field starts.
  • ? is intentionally not a trigger: it ends Bengali questions and the keyboard has no mode indicator.
  • \ is a long-press popup on the Khipro ; key.
  • New Combiner.onStartInput() (default no-op) so the combiner can clear state that must outlive reset(). Hangul and dead-key combiners are unaffected.

Refs #789

Verification

  • BnKhiproCombinerTest (5 tests) passes
  • ./gradlew :app:assembleStandardDebug and compileOfflineRunTestsKotlin pass
  • Tested on device with the Khipro layout

Backslash switches Khipro to plain Latin input until ';', as in the official
spec. ';;' types a literal ';', and a new input field leaves the mode. '?' is
not a trigger since it ends Bengali questions. Backslash is a long-press
popup on the ';' key.

Refs #789
@LeanBitLab
LeanBitLab merged commit d2eaab9 into main Nov 18, 2026
@LeanBitLab
LeanBitLab deleted the feat/khipro-blinder branch November 18, 2026 15:16
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.

1 participant

⌂ Proxy