Skip to content

[Instinct] Windows ConPTY: inline input offset / Enter anchor (v0.93.0) #45

Closed

Description

@KooshaPari

Authored by Instinct

Windows ConPTY: inline input drawn offset / Enter fires at the wrong anchor (jcode v0.93.0, PowerShell)

Observed on a Windows desk running jcode v0.93.0 in PowerShell:

  • Typed input is drawn at an offset from where the cursor actually is.
  • Pressing Enter acts at the wrong anchor, and the session can fall through to the underlying PowerShell prompt.

Suspected cause (hypothesis, not confirmed): a cursor/viewport anchor mismatch under ConPTY in inline mode, most likely in the terminal setup code (terminal.rs) or the inline input path.

Related: PR #44 ("fix(tui): support tiny terminals in Jcode session resume") touches nearby TUI layout code and may be relevant to the fix.

Next steps: reproduce on a clean Windows Terminal + PowerShell session, capture cursor-position reports vs. drawn row, then compare inline vs. alternate-screen mode.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions