CommandCodeAI / CommandCodeAI/command-code

UI: Input cursor/indicator overlaps with bottom status bar in terminal interface

Open
#794 1 comment 0 reactions 1 assignee View on GitHub

@naymurdev is already working on this.

Since Sep 3, 2026.

windows
Dominant language
No language data
Stars
4k
Forks
350
PR merge metrics
No merged PRs in 30d

Description

Summary

Visual rendering bug where the input line cursor or indicator rectangle becomes misaligned and overlaps with the status bar elements below ("accept edits on [shift+tab]" and "? for shortcuts").

Expected Behavior

The input cursor/indicator should stay aligned with the text input line and not overlap with other UI components.

Actual Behavior

The input indicator rectangle renders at an incorrect position, creating visual overlap with the status hints below the input area.

Image
Steps to reproduce the issue
  1. Open Command Code in Windows terminal (Orca) with cmd.exe

  2. Start typing or have content in the input field

  3. The cursor/indicator rectangle drifts downward and overlaps with the bottom UI elements

Command Code Version

1.44.0

Operating System

Windows

Terminal/IDE

Orca

Shell

cmd.exe

Session file (optional)

No response

Fix prompt (optional)

The bug is in the terminal input rendering code - likely the cursor position or line height calculation for the input area.

Where: Input field component in the terminal UI layer, possibly in the cursor positioning logic.

What's correct:
1. The input cursor/indicator should be vertically aligned with the text being typed
2. There should be clear separation between the input area and the status bar below
3. The cursor position calculation must account for the terminal's line height and any padding/margins

How to check:
1. Open Command Code in Windows cmd.exe
2. Type multiple lines or long text in the input field
3. Verify the cursor/indicator stays on the same line as the text
4. Confirm no overlap with "accept edits on [shift+tab]" or "? for shortcuts" hints
5. Test with different terminal sizes and font configurations

Additional context

This appears to be a terminal rendering issue specific to Windows cmd.exe environments. The cursor position calculation may not account for line height or padding correctly, causing the visual indicator to drift downward.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.