shell-pool / shell-pool/shpool

Typing delayed at fish shell prompt after reattaching

Open
#279 16 comments 0 reactions 0 assignees View on GitHub

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

  1. SSH to an EC2 instance running Amazon Linux 2023 using fish shell
  2. shpool attach test
  3. shpool detach
  4. shpool attach test
  5. Type anything

Version info

shpool 0.9.3

Logs

See below

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.