Skip to content

Prompt text input truncated in TUI #403

Open
@bart-jaskulski

Description

@bart-jaskulski

Describe the bug
Entering input in TUI mode truncates text exceeding 400 chars.

Setup
Please complete the following information along with version numbers, if applicable.

  • OS: Ubuntu 24.10
  • Shell: bash
  • Terminal Emulator: st
  • Terminal Multiplexer: tmux

To Reproduce
Steps to reproduce the behavior:

  1. Open mods in TUI mode (mods without arguments)
  2. Either paste, write or enter in editor a content which exceeds 400 characters
  3. Content is truncated in input field to 400 chars. The exceeding chars are removed and not included in prompt sent to AI

Source Code
Just paste in TUI: https://www.lipsum.com/feed/html

Expected behavior
Text input is not limited to any amount of characters or at least is limited to max-input-chars from mods settings.

Screenshots
asciicast

Additional context
This doesn't seem to be related to max-input-chars settings, as value there was generous (in my setup max-input-chars: 392000)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions