pweingar / FoenixMCP

A portable kernel for the Foenix series of computers.
BSD 3-Clause "New" or "Revised" License
10 stars 5 forks source link

[Enhancement] Support modifying history text in CLI #38

Open daschewie opened 2 years ago

daschewie commented 2 years ago

Background

The CLI recently added support for line editing and history. For new text, it allows you to backspace or use arrows to edit text. However when you use the up arrow to pull up a history entry, it allows you to append to the text but not edit it.

Proposal

Please add line edit support for history entries. Another recommendation would be to consider adapting Linenoise. It is VT100 clone of libreadline that has no dependencies and is less than 1k lines.

pweingar commented 2 years ago

This is actually a bug... it was supposed to do it. Fortunately, it seems like I made a very simple mistake.