radline icon indicating copy to clipboard operation
radline copied to clipboard

Add Support for CancelCommand

Open AndreVianna opened this issue 1 year ago • 1 comments

Add support for a CancelCommand with default bind to the Escape Key.

The command resets the buffer to the initial Text and when presses the key ends the editor and returns the original text (if any) or empty string if there was none.

AndreVianna avatar Sep 18 '24 15:09 AndreVianna

Addressed in: https://github.com/spectreconsole/radline/pull/8

AndreVianna avatar Sep 19 '24 04:09 AndreVianna