summaryrefslogtreecommitdiff
path: root/share/hackvr/examples/hackvr_term
diff options
context:
space:
mode:
Diffstat (limited to 'share/hackvr/examples/hackvr_term')
-rwxr-xr-xshare/hackvr/examples/hackvr_term/read_line.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/share/hackvr/examples/hackvr_term/read_line.sh b/share/hackvr/examples/hackvr_term/read_line.sh
new file mode 100755
index 0000000..c26ebf3
--- /dev/null
+++ b/share/hackvr/examples/hackvr_term/read_line.sh
@@ -0,0 +1,5 @@
+#!/usr/bin/env bash
+./hackvr_data_decode.sh \
+ | ./pty `which bash` "-c" 'read -p "type> " line;xmessage $line' \
+ | ./hackvr_term 60 2 \
+ | sed -u 's/addshape 15 4/addshape 12 4/g'