Skip to content

Up arrow in te text entry box always brings previous message for editing #529

@symsymsym1

Description

@symsymsym1

Describe the bug
Pressing ↑ in the message entry box loads the user’s most recent sent message into the editor, even if there is another draft being edited at the moment.

To Reproduce

  1. In any LLM chat, type any message and send it to the model
  2. Start typing another message.
  3. Press up (a few times if the message is multiline)
  4. The current draft is replaced with the previous message. It's still possible to get back by pressing down, but it's a major ergonomic inconvenience.

Expected behavior
Pressing ↑ in the message input loads the user’s most recent sent message into the editor only if the input is empty.
If the input already contains text, ↑ behaves normally (e.g., moves the cursor within the text) and does not replace the current draft. When the cursor is in the first line, pressing ↑ does nothing.

Desktop (please complete the following information):

  • OS: Windows 11
  • Witsy Version 3.5.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions