Skip to content

Commit

Permalink
VT flavor : Ctrl-Alt-key was off by one. Hit, say, Ctrl-Alt-T, and yo…
Browse files Browse the repository at this point in the history
…u'd get Ctrl-Alt-U.
  • Loading branch information
Bill-Gray committed May 8, 2023
1 parent 28cbcfc commit 6556858
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions curses.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ Defined by this header:
#define PDC_VER_MINOR 3
#define PDC_VER_CHANGE 6
#define PDC_VER_YEAR 2023
#define PDC_VER_MONTH 04
#define PDC_VER_DAY 15
#define PDC_VER_MONTH 05
#define PDC_VER_DAY 08

#define PDC_STRINGIZE( x) #x
#define PDC_stringize( x) PDC_STRINGIZE( x)
Expand Down
2 changes: 1 addition & 1 deletion vt/pdckbd.c
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ static int xlate_vt_codes( const int *c, const int count, int *modifiers)
}
else if( c[0] >= 1 && c[0] <= 26)
{
rval = ALT_A + c[0];
rval = ALT_A + c[0] - 1;
*modifiers = CTL;
}
else if( c[0] >= '0' && c[0] <= '9')
Expand Down

0 comments on commit 6556858

Please sign in to comment.