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

未关闭
#794 1 条评论 0 个 reaction 已指派 1 人 在 GitHub 查看

@naymurdev 已经在做这个了。

开始于 2026年9月3日。

评估

这个 Issue 还没有评估数据。

描述

windows
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.

主要语言
没有语言数据
星标
4k
派生
350
PR 合并指标
30 天内没有已合并 PR

贡献指南

这个仓库没有索引到贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

CommandCodeAI/command-code 的其他 Issue

查看 CommandCodeAI/command-code 的全部 Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。