mirror of
https://github.com/urbit/shrub.git
synced 2025-01-03 10:02:32 +03:00
adds term support for meta-. and meta-backspace
This commit is contained in:
parent
566dcf211f
commit
166431ed99
@ -315,6 +315,7 @@
|
||||
# define c3__door c3_s4('d','o','o','r')
|
||||
# define c3__dorn c3_s4('d','o','r','n')
|
||||
# define c3__dost c3_s4('d','o','s','t')
|
||||
# define c3__dot c3_s3('d','o','t')
|
||||
# define c3__drag c3_s4('d','r','a','g')
|
||||
# define c3__draz c3_s4('d','r','a','z')
|
||||
# define c3__drib c3_s4('d','r','i','b')
|
||||
|
@ -838,6 +838,14 @@ _term_io_suck_char(u3_utty* uty_u, c3_y cay_y)
|
||||
tat_u->esc.ape = c3n;
|
||||
_term_io_belt(uty_u, u3nc(c3__met, cay_y));
|
||||
}
|
||||
else if ( '.' == cay_y ) {
|
||||
tat_u->esc.ape = c3n;
|
||||
_term_io_belt(uty_u, u3nc(c3__met, c3__dot));
|
||||
}
|
||||
else if ( 8 == cay_y || 127 == cay_y ) {
|
||||
tat_u->esc.ape = c3n;
|
||||
_term_io_belt(uty_u, u3nc(c3__met, c3__bac));
|
||||
}
|
||||
else if ( ('[' == cay_y) || ('O' == cay_y) ) {
|
||||
tat_u->esc.bra = c3y;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user