summaryrefslogtreecommitdiffstats
path: root/cmd-choose-tree.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2012-09-24 12:53:55 +0000
committerNicholas Marriott <nicm@openbsd.org>2012-09-24 12:53:55 +0000
commiteb0ad181e909c83fad8c1fd2a4a37271b6980ea2 (patch)
tree341079f355f80fcb84e82cad1cab8626885de894 /cmd-choose-tree.c
parentb2a9f4115f99f88a8b69a36a1f9ab12f6de4a986 (diff)
Use ACS characters for choose-tree arrows based on diff from Romain
Francoise.
Diffstat (limited to 'cmd-choose-tree.c')
-rw-r--r--cmd-choose-tree.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/cmd-choose-tree.c b/cmd-choose-tree.c
index f1533ac0..52f06dc8 100644
--- a/cmd-choose-tree.c
+++ b/cmd-choose-tree.c
@@ -149,8 +149,10 @@ cmd_choose_tree_exec(struct cmd *self, struct cmd_ctx *ctx)
* without any padding.
*/
if (wflag && sflag) {
- xasprintf(&final_win_template_middle, " |-> %s", win_template);
- xasprintf(&final_win_template_last, " \\-> %s", win_template);
+ xasprintf(&final_win_template_middle,
+ " \001tq\001> %s", win_template);
+ xasprintf(&final_win_template_last,
+ " \001mq\001> %s", win_template);
} else if (wflag) {
final_win_template_middle = xstrdup(win_template);
final_win_template_last = xstrdup(win_template);