Skip to content

Commit

Permalink
add 'G' escape character replaced current group name
Browse files Browse the repository at this point in the history
  • Loading branch information
niha committed Apr 14, 2010
1 parent 727ad72 commit 3be0a4f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/screen.c
Expand Up @@ -2991,6 +2991,12 @@ int rec;
qmflag = 1;
p += strlen(p) - 1;
break;
case 'G':
*p = 0;
strcpy(p, D_fore && D_fore->w_group ? D_fore->w_group->w_title : "root");
qmflag = 1;
p += strlen(p) - 1;
break;
case 'n':
s++;
/* FALLTHROUGH */
Expand Down

0 comments on commit 3be0a4f

Please sign in to comment.