Skip to content

Commit

Permalink
Use explicit altnotation contact; closes #33
Browse files Browse the repository at this point in the history
Signed-off-by: Jeffrey H. Johnson <trnsz@pobox.com>
  • Loading branch information
johnsonjh committed Oct 27, 2023
1 parent 618f2e4 commit 80743ed
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion common/key.c
Original file line number Diff line number Diff line change
Expand Up @@ -495,7 +495,11 @@ nopr: if (iscntrl(ch) && (ch < 0x20 || ch == 0x7f)) {
sp->cname[3] = 'l';
sp->cname[4] = '>';
len = 5;
}
} else {
sp->cname[0] = '^';
sp->cname[1] = ch == 0x7f ? '?' : '@' + ch;
len = 2;
}
} else {
sp->cname[0] = '^';
sp->cname[1] = ch == 0x7f ? '?' : '@' + ch;
Expand Down

0 comments on commit 80743ed

Please sign in to comment.