summaryrefslogtreecommitdiff
path: root/src/input_handler.cc
diff options
context:
space:
mode:
authorTobias Kortkamp <git@tobik.me>2018-04-17 17:48:14 +0200
committerTobias Kortkamp <git@tobik.me>2018-04-24 20:16:32 +0200
commitbb124895b73357e7834e0bebbebe0678946c5bb4 (patch)
tree4d01e241257e0bcb898a8a73ac1ca3d34a1ee761 /src/input_handler.cc
parent01757475f876056104181f4a4a523b24469cf74e (diff)
tmux-repl fails on FreeBSD and claims that tmux' version is too old
even though tmux 2.7 is installed. The problem is that ``` expr "$(tmux -V)" : 'tmux \([0-9]*\|master\)' ``` fails on FreeBSD. It works fine with GNU expr. Replace the expression with cut(1) and a simple parameter expansion which should hopefully work fine on any POSIX system. Signed-off-by: Tobias Kortkamp <git@tobik.me>
Diffstat (limited to 'src/input_handler.cc')
0 files changed, 0 insertions, 0 deletions