mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-21 22:13:19 -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
|
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
|
-- 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
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
for w in $(tmux list-panes | $BYOBU_SED -e "s/:.*//"); do
|
w=$(tmux list-windows | grep "\*" | awk -F: '{print $1}')
|
||||||
tmux send-keys -t $w "$@"
|
for p in $(tmux list-panes | $BYOBU_SED -e "s/:.*//"); do
|
||||||
tmux send-keys -t $w Enter
|
tmux send-keys -t $w.$p "$@" || true
|
||||||
|
tmux send-keys -t $w.$p Enter || true
|
||||||
done
|
done
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue