tmux-python / tmux-python/tmuxp
Strange leading whitespace before shell command
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 4.6k
- Forks
- 248
- Avg merge
- 2h 13m
- Merged PRs (30d)
- 1
Description
session_name: helloworld
windows:
- window_name: dev
start_directory: /home/parallels
panes:
- shell_command: "echo foo"
- shell_command: "echo bar"
If you press up to get the previous command, there is leading whitespace in the command, so it's not just a rendering issue.
tmuxp 1.55.0, libtmux 0.46.0
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
Reproduce the issue with the provided tmuxp configuration on tmuxp 1.55.0 and libtmux 0.46.0, then inspect how shell_command values are passed to tmux and how command history is populated. Done means the commands from the example no longer acquire leading whitespace when recalled with the Up key.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, shell, yaml
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100