diff options
author | Shawn <sabetts@juicebox> | 2008-10-10 14:23:17 -0700 |
---|---|---|
committer | Shawn <sabetts@juicebox> | 2008-10-10 14:23:17 -0700 |
commit | 1d291ecaf30bfa551086aabe02d065f07f00eff3 (patch) | |
tree | 5e45e992e337647cc46c2b5a7ec15895660e7c78 /src | |
parent | b57b21ee318287d035269cb526444a756a93cae9 (diff) | |
download | ratpoison-1d291ecaf30bfa551086aabe02d065f07f00eff3.zip |
mark the last group in cmd_groups
Diffstat (limited to 'src')
-rw-r--r-- | src/actions.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/actions.c b/src/actions.c index 5d7b335..c7534bc 100644 --- a/src/actions.c +++ b/src/actions.c @@ -4868,7 +4868,9 @@ cmd_groups (int interactive, struct cmdarg **args) rp_group *cur; int mark_start = 0, mark_end = 0; struct sbuf *buffer; + rp_group *last; + last = group_last_group (); buffer = sbuf_new (0); /* Generate the string. */ @@ -4887,6 +4889,8 @@ cmd_groups (int interactive, struct cmdarg **args) if(cur == rp_current_group) separator = '*'; + else if(cur == last) + separator = '+'; else separator = '-'; |