mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-14 17:41:33 +03:00
vere: comments-out unused ansi input sequences
This commit is contained in:
parent
4eaffc87b2
commit
00a691dfe2
@ -183,12 +183,14 @@
|
||||
/* u2_utfo: unix terminfo strings.
|
||||
*/
|
||||
typedef struct {
|
||||
struct {
|
||||
uv_buf_t kcuu1_u; // key_up
|
||||
uv_buf_t kcud1_u; // key_down
|
||||
uv_buf_t kcub1_u; // key_back
|
||||
uv_buf_t kcuf1_u; // key_forward
|
||||
} inn;
|
||||
// disabled, currently unused
|
||||
//
|
||||
// struct {
|
||||
// uv_buf_t kcuu1_u; // key_up
|
||||
// uv_buf_t kcud1_u; // key_down
|
||||
// uv_buf_t kcub1_u; // key_back
|
||||
// uv_buf_t kcuf1_u; // key_forward
|
||||
// } inn;
|
||||
struct {
|
||||
uv_buf_t clear_u; // clear_screen
|
||||
uv_buf_t el_u; // clr_bol clear to beginning
|
||||
|
@ -169,13 +169,13 @@ u3_term_log_init(void)
|
||||
// configure input escape sequences
|
||||
//
|
||||
// NB: terminfo reports the wrong sequence for arrow keys on xterms.
|
||||
//
|
||||
{
|
||||
uty_u->ufo_u.inn.kcuu1_u = TERM_LIT_BUF("\033[A"); // terminfo reports "\033OA"
|
||||
uty_u->ufo_u.inn.kcud1_u = TERM_LIT_BUF("\033[B"); // terminfo reports "\033OB"
|
||||
uty_u->ufo_u.inn.kcuf1_u = TERM_LIT_BUF("\033[C"); // terminfo reports "\033OC"
|
||||
uty_u->ufo_u.inn.kcub1_u = TERM_LIT_BUF("\033[D"); // terminfo reports "\033OD"
|
||||
}
|
||||
// disabled, currently unused
|
||||
// {
|
||||
// uty_u->ufo_u.inn.kcuu1_u = TERM_LIT_BUF("\033[A"); // terminfo reports "\033OA"
|
||||
// uty_u->ufo_u.inn.kcud1_u = TERM_LIT_BUF("\033[B"); // terminfo reports "\033OB"
|
||||
// uty_u->ufo_u.inn.kcuf1_u = TERM_LIT_BUF("\033[C"); // terminfo reports "\033OC"
|
||||
// uty_u->ufo_u.inn.kcub1_u = TERM_LIT_BUF("\033[D"); // terminfo reports "\033OD"
|
||||
// }
|
||||
|
||||
// Load old terminal state to restore.
|
||||
//
|
||||
|
Loading…
Reference in New Issue
Block a user