Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Question] Overwrite extra info on a prompt after command execution #1969

Open
ecool opened this issue Dec 16, 2021 · 0 comments
Open

[Question] Overwrite extra info on a prompt after command execution #1969

ecool opened this issue Dec 16, 2021 · 0 comments

Comments

@ecool
Copy link

ecool commented Dec 16, 2021

Hello,

First I'd like to say this is not an issue and just a question on how to/if an advanced technique is possible to do.

I'm currently looking to modify the prompt I'm currently using (a customized version of the paradox prompt that I share on my fork called terminus) and one of the features I have added was a notification for command execution success/failure. (see image)

image

Currently whenever I execute a command the times are updated when I hit the enter key and I was wondering if there was a way to also have the green check and red x also be updated for that old prompt alongside the history number. (The image provides an example of how the command "false" has a fail execution but the red x is part of the next prompt and not the prompt associated with the command)

I would like them to basically keep track of the command so if I scroll back through my history I can at a glance see the status of the command, the history number, and the time it executed.

Thanks for any assistance,
@ecool

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant