Skip to content

[Feature]: Implement Khipro Blinder Support #789

Closed

Description

@boxer4436

Feature Screening Checklist

  • I have verified this is not a personal niche workflow and benefits a wide user base.
  • This cannot be achieved using existing tools (custom layouts, text expander shortcuts, user dictionaries, or system settings).
  • This will not introduce typing lag, delay loops, or degrade typing responsiveness on low-end devices.
  • I have searched existing open and closed issues and discussions to confirm this has not been requested or rejected before.

Problem Statement

LeanType 4.3.1's Khipro implementation does not support the official Khipro Blinder feature.

According to the official Khipro touchscreen specification (bn-khipro-classic.mim), both \ and ? should activate Blinder mode, allowing users to type English without transliteration. Pressing ; should return to Bengali composition mode. However, LeanType's current BnKhiproCombiner.kt does not implement the required Blinder states or transitions. As a result, users cannot access this functionality.

Proposed Solution

Implement the official Khipro Blinder behaviour directly in the existing Kotlin combiner (BnKhiproCombiner.kt), following the state transitions defined in the official touchscreen specification.

This should include:

  • Supporting both \ and ? as Blinder activation keys.
  • Passing English characters through without Bengali transliteration while Blinder mode is active.

This can be implemented within LeanType's existing architecture without requiring migration to the m17n framework.

Target Audience & Benefits

LeanType users who use the Khipro layout and frequently mix Bengali and English. This feature would allow seamless bilingual typing without switching keyboard layouts.

Alternatives & Workarounds Considered

Manually switching between Bengali and English keyboard layouts is possible, but interrupts the typing flow. Supporting Khipro's native Blinder feature would provide a smoother and more convenient experience.

Activity

  1. LeanBitLab commented on Nov 18, 2026

    @LeanBitLab
    Owner

    Thanks for the detailed request and the pointer to the official spec.

    Blinder mode is now implemented in the Khipro combiner and will be in the next beta build:

    • \ turns Blinder on: everything after it is typed as plain Latin, across spaces and words.
    • ; turns it off and returns to Bengali composition.
    • ;; types a literal ; while in Blinder.
    • Blinder turns off when you switch to another text field, so it never stays on unnoticed in the next app.

    One intentional difference from bn-khipro-classic.mim: ? does not trigger Blinder here. On desktop m17n shows the current state, but the keyboard has no mode indicator. Bengali questions end with ?, so every question would silently switch you to English and the next words would come out untransliterated until you typed ;. \ is almost never typed in Bengali, so it is safe as the only trigger.

    I'll update here once the beta is out.

  2. LeanBitLab commented on Nov 18, 2026

    @LeanBitLab
    Owner

    Merged in #867, so it will be in the next beta. Quick guide for the Khipro layout:

    Typing English inside Khipro (Blinder mode)

    1. Long-press the ; key and pick \. The \ itself is not typed; the keyboard just switches to plain English.
    2. Type English normally, including spaces and several words.
    3. Tap ; to go back to Bengali.

    Tips

    • Need a real ; while in English mode? Type ;;.
    • Anything you were composing in Bengali is committed first when you press \.
    • Switching to another text field or app always starts in Bengali again.
    • ? stays a normal question mark and does not switch modes.
  3. LeanBitLab commented on Nov 18, 2026

    @LeanBitLab
    Owner

    As promised: Khipro Blinder mode is out in v4.3.5-beta2: https://github.com/LeanBitLab/LeanType/releases/tag/beta-435-2

    Type \ to switch Khipro to plain Latin input until ;, as in the official spec. ;; types a literal ;, and moving to a new input field leaves the mode. Backslash is also on a long-press of the ; key. Please give it a try and let me know if anything behaves differently from what you expect.

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

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions