shell-pool / shell-pool/shpool
Typing delayed at fish shell prompt after reattaching
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 2k
- Forks
- 67
- Avg merge
- 3d 1h
- Merged PRs (30d)
- 15
Description
What happened
I detached at a fish shell prompt (using shpool detach because of https://github.com/shell-pool/shpool/issues/278). After reattaching, my typing was delayed for a few seconds before appearing on screen.
This doesn't always happen (sometimes my typing shows up immediately after attaching). However, once it starts happening for a given session, it happens every time I detach and reattach the same session.
What I expected to happen
My typing should appear immediately as I type.
To Reproduce
- SSH to an EC2 instance running Amazon Linux 2023 using fish shell
shpool attach testshpool detachshpool attach test- Type anything
Version info
shpool 0.9.3
Logs
See below
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No source file or test is named. First reproduce the delay with fish using the listed attach/detach sequence on shpool 0.9.3, then trace the session reattachment and terminal input handling. Done means typing appears immediately after reattaching, including for sessions that previously showed the delay.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- fish, rust
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100