Quickstart starts tmux with the CLI before using libtmux
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Aptitud para principiantes
- 65/100
- Tipo de issue
- Documentación
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- python
- Área
- documentation
Línea de trabajo
Comienza con la sección "Open a tmux session" de README.md (alrededor de las líneas 87-93) y la sección "Start a tmux session" de docs/quickstart.md (alrededor de las líneas 107-116), y luego lee los ejemplos de libtmux.Server() que siguen a ellas. En ambos archivos, reemplaza el paso tmux new-session por libtmux.Server().new_session(session_name="foo", window_name="bar") y mantén el comando tmux attach -t foo como paso opcional. Está terminado cuando ambas páginas crean la sesión desde Python. Quedan fuera del alcance el lanzador de libtmux.org y cualquier API nueva de gestor de contexto.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Summary
The README and docs/quickstart.md start with "First, start a tmux session to connect to" and a tmux new-session command, then use libtmux.Server(). libtmux can create that session itself. The maintainer asked on 2026-11-14 that ports not send users to a shell script when the library could do the job. Severity is low: the quickstart's point is piloting a session the reader attaches to in another terminal, so the shell command is part of the story.
Expected
- The quickstart creates the session from Python:
server = libtmux.Server(); session = server.new_session(session_name="foo", window_name="bar"), then tells the reader how to attach (tmux attach -t foo) as an optional step. - The libtmux.org "Attaching to tmux" program creates
workitself and connects a secondServerhandle to the same socket.
Actual
README.mdL91:tmux new-session -s foo -n barunder "Open a tmux session".docs/quickstart.mdL111:tmux new-session -n bar -s foounder "Start a tmux session", with the tutorial using sessionfooand windowbar.- libtmux.org (libtmux/docs) shows a
run.shlauncher on the Python "Attaching to tmux" guide (ports/py/guides/attaching-to-tmux.mdL50-76) and an environment scrub before the landing example (home-examples.jsonL24). The Python landing program does not need either: it useslibtmux.Server(socket_path=..., config_file="/dev/null"),new_session, and cleans up infinally.
Proposal
None. Server.new_session, Server.kill, Server(socket_path=..., config_file=...) exist. Optional: a public, non-pytest context manager for a private server (the pytest plugin's TestServer is test-only), for example libtmux.Server.private(root=None, config_file="/dev/null") that creates a temp directory, yields a Server, kills it and removes the directory on exit.
References
- Maintainer, 2026-11-14: "don't spam shell script to users"; file an issue per repo and name the missing APIs.
- libtmux/docs launcher issue; related existing issues tmux-python/libtmux#804 (create or reuse tmux resources with explicit cleanup ownership) and #823.
- Lenguaje dominante
- Python
- Estrellas
- 1.2k
- Forks
- 127
- Merge medio
- 2 h 37 min
- PR fusionados (30 d)
- 33
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de tmux-python/libtmux
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 83/100
tmux-python/libtmux#839 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
tmux-python/libtmux#838 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
`show_option` coerces user options, so an `@` option set to `123` or `on` comes back as an int or a boolPosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
tmux-python/libtmux#759 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
tmux-python/libtmux#745 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
Documentation: how to use internal libtmux loggingPosiblemente ocupada @tony la tomó hace 84 días. Abiertoenhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
tmux-python/libtmux#744 ·
Los mantenedores suelen responder en 1 día
Todos los issues de tmux-python/libtmux
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
deepchem/deepchem#5289 · 1 comentario ·
Los mantenedores suelen responder en 2 días
-
Pull Request for pretty_macAbierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 75/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 60/100
UKGovernmentBEIS/inspect_evals#2892 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Versioning docs: say that no output from the 0.46 warning check means nothing is affectedPosiblemente ocupada @grelinfo la tomó hoy. Abiertodocumentation priority:low size:S
Dificultad 1/5 Menos de una hora Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
alphacrack/readme2demo#293 ·