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

record/history: Improve performance and ux while processing commands #66

Merged
merged 5 commits into from
Mar 11, 2024

Conversation

joshi4
Copy link
Contributor

@joshi4 joshi4 commented Mar 11, 2024

  • shell/zsh: Run savvy send in the background
  • cmd/history: rm nullWriter.
  • cmd/history: Use SocketServerWithDefaultPath
  • history: Optionally pass commandRecordedHook into socket server
  • cmd/history: Start a spinner while we are processing history commands

We use io.Discard instead
The caller can then use the hook however, they want.

For the first use case: we use it to wait for the command to be
processed before passing in the next one.
@joshi4 joshi4 merged commit c71c03b into main Mar 11, 2024
1 check passed
@joshi4 joshi4 deleted the sj/handle-blocking-issue-with-history branch March 11, 2024 22:22
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

Successfully merging this pull request may close these issues.

1 participant