Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

list_windows: We may be filtering out `window_name: ''` and `''` values

Aperta
#445 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
python
Ambito
cli

Direzione di ricerca

Start at the list_windows implementation and inspect its filtering logic, then review the test referenced in #444. Confirm how an empty window_name and other empty-string values are handled, and ensure existing empty values are retained.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

#444 it seems the test will always pass, even before the change that, when verified by hand, permits window_name: '' to work (or else it'd default to zsh or whatever the shell name was for the window)

See if our filtering is negating '' as a falsey value. We want to keep those, if they exist.

Fulll context: https://github.com/tmux-python/libtmux/pull/444#discussion_r980591231

Lingua principale
Python
Stelle
1.2k
Fork
127
Merge medio
2h 13m
PR unite (30g)
1

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di tmux-python/libtmux

Tutte le issue di tmux-python/libtmux

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.