agentjido / agentjido/term_ui

[MacOS] Option+Delete (⌥+⌫) corrupts buffer

Open
#35 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Elixir
Stars
205
Forks
16
Avg merge
27m
Merged PRs (30d)
5

Description

Hi, and first of all, thanks for the great library!

I'm trying to build something of a CLI agent interface clone with a text prompt and it seems that Option+Delete which I'd expect to delete a word completely breaks the buffer making it respond to nothing short of Ctrl+C. This is reproduced in all examples from this repo that I've checked.

Is this a known issue? Are there any workarounds?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue with Option+Delete in the repository examples, then trace how terminal key input reaches the text buffer. Compare the resulting buffer state with normal word deletion and verify that the prompt continues accepting input after the fix.

Written by the indexing model from the issue text.

Assessment

Tech stack
elixir
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.