Skip to content

Objective input gets scrambled/corrupted with long or pasted text #39

@anmolg-LT

Description

@anmolg-LT

kane-cli version

0.3.1

Operating System

macOS (Apple Silicon)

Installation method

Homebrew

What happened?

Summary

When entering a long objective — especially when part of it is pasted — the captured input becomes garbled: characters are dropped, reordered, and words get merged.

Steps to reproduce

  1. In the objective input, enter a long prompt that mixes typed and pasted text. Example used:

    I have a website made at https://www.netfunda.com/ can you help me create 6 tests, one for the home page and rest for the following pages: Products, Solutions, Resellers, Company, Contact to verify the basic behaviour of the pages

    (The page names — Products / Solutions / Resellers / Company / Contact — were pasted; the rest typed.)

  2. Review what the CLI captured

Actual behavior

The input was mangled into:

I have a website made at https://www.netfunda.com/ can you help me create 6 te Reselionsr home page and rest for the following pages : Products Contact to overify the basic c behaviour of the pages

Characters are dropped and interleaved (e.g. "Reselionsr", "overify", "basic c"), and several page names are lost.

Expected behavior

The objective input should capture long and pasted text exactly as entered, without dropping or scrambling characters.

Environment

  • OS: macOS
  • Kane CLI version: not captured

Additional details

No response

Error output / logs

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions