Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prompt text input truncated in TUI #403

Open
bart-jaskulski opened this issue Dec 10, 2024 · 0 comments
Open

Prompt text input truncated in TUI #403

bart-jaskulski opened this issue Dec 10, 2024 · 0 comments

Comments

@bart-jaskulski
Copy link

bart-jaskulski commented Dec 10, 2024

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant