Skip to content

[Bug] - Input handler logic error prevents character input in AgentURL #125

@puwun

Description

@puwun

Describe the bug
In the TUI's "New Evaluation" form, the AgentURL input field correctly accepts character input but fails to process the backspace key, we can add to the URL but cannot delete characters

in eval_form_controller.go, the condition change breaks backspace for field 0 (AgentURL):

 if m.evalState.currentField <= 1 && m.evalState.cursorPos > 0 

Additional context
This is likely a regression introduced by the logic changes for MCP support

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