reedline icon indicating copy to clipboard operation
reedline copied to clipboard

Add a way to disable the prompt

Open rtpg opened this issue 2 years ago • 3 comments

This is part of work to simplify this nushell PR. Clearing out the prompt removes a reference to the stack, letting us avoid a copy

rtpg avatar Jan 28 '24 02:01 rtpg

@rtpg can you please add in a example that shows this working... Thanks !

stormasm avatar Feb 02 '24 04:02 stormasm

@rtpg as far as the example it can be as simple as the

https://github.com/nushell/reedline/blob/main/examples/basic.rs

but call it disable_prompt.rs

stormasm avatar Feb 02 '24 05:02 stormasm

@rtpg as far as the example it can be as simple as the

https://github.com/nushell/reedline/blob/main/examples/basic.rs

but call it disable_prompt.rs

I don't really understand what you're saying here. Can you add an example and some test to ensure this behavior works in the future?

fdncred avatar Feb 09 '24 12:02 fdncred

unresponsive.

fdncred avatar Apr 23 '24 12:04 fdncred