Skip to content

Add Up/Down Arrow Keys to Recall Previous Conversation History #177

Description

@HaonanWang7

Description

Current behavior

In Devo's TUI conversation interface, the up/down arrow keys are currently not supported for quickly recalling previously entered content. If users want to repeat or modify a previous question, they must retype it entirely or manually copy and paste it, which is cumbersome—especially when dealing with longer inputs.

Suggested improvement (one possible approach)

Add an input history feature that allows users to browse through previously entered content by pressing the ↑/↓ arrow keys. The selected history entry can be automatically populated into the current input field, where users can further edit it before sending—similar to the behavior commonly found in typical command-line shells and modern chat interfaces.

Rationale

  • Improves interaction efficiency by reducing repetitive typing, which is especially convenient for long questions or complex instructions.
  • Aligns with the muscle memory of most command-line and interactive chat users, lowering the learning curve.
  • Facilitates quick corrections of typos or re‑attempting questions with different phrasing, enhancing the overall usability of the TUI.

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