mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-21 14:03:18 -07:00
* usr/lib/byobu/include/tmux-send-command-to-all-panes:
- fix breakage on sending command to all panes
This commit is contained in:
parent
2990e3dddd
commit
77f6ef163d
2 changed files with 6 additions and 4 deletions
3
debian/changelog
vendored
3
debian/changelog
vendored
|
@ -1,6 +1,7 @@
|
|||
byobu (5.106) unreleased; urgency=medium
|
||||
|
||||
* UNRELEASED
|
||||
* usr/lib/byobu/include/tmux-send-command-to-all-panes:
|
||||
- fix breakage on sending command to all panes
|
||||
|
||||
-- Dustin Kirkland <kirkland@ubuntu.com> Thu, 07 Apr 2016 18:50:57 -0500
|
||||
|
||||
|
|
|
@ -17,7 +17,8 @@
|
|||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
for w in $(tmux list-panes | $BYOBU_SED -e "s/:.*//"); do
|
||||
tmux send-keys -t $w "$@"
|
||||
tmux send-keys -t $w Enter
|
||||
w=$(tmux list-windows | grep "\*" | awk -F: '{print $1}')
|
||||
for p in $(tmux list-panes | $BYOBU_SED -e "s/:.*//"); do
|
||||
tmux send-keys -t $w.$p "$@" || true
|
||||
tmux send-keys -t $w.$p Enter || true
|
||||
done
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue