mirror of
https://github.com/tmate-io/tmate-ssh-server.git
synced 2020-11-18 19:53:51 -08:00
This breaks mutt.
This commit is contained in:
parent
25975cf5ae
commit
cf092dc27f
6
input.c
6
input.c
@ -1,4 +1,4 @@
|
|||||||
/* $Id: input.c,v 1.64 2008-11-04 19:28:58 nicm Exp $ */
|
/* $Id: input.c,v 1.65 2008-11-04 20:06:48 nicm Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
|
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
|
||||||
@ -604,9 +604,11 @@ input_handle_private_two(u_char ch, struct input_ctx *ictx)
|
|||||||
log_debug2("-- p2 %zu: %hhu (%c)", ictx->off, ch, ch);
|
log_debug2("-- p2 %zu: %hhu (%c)", ictx->off, ch, ch);
|
||||||
|
|
||||||
switch (ch) {
|
switch (ch) {
|
||||||
|
#if 0
|
||||||
case '0': /* Don't know? */
|
case '0': /* Don't know? */
|
||||||
ictx->cell.attr |= GRID_ATTR_CHARSET;
|
ictx->cell.attr |= GRID_ATTR_CHARSET;
|
||||||
break;
|
break;
|
||||||
|
#endif
|
||||||
case '=': /* DECKPAM */
|
case '=': /* DECKPAM */
|
||||||
screen_write_kkeypadmode(&ictx->ctx, 1);
|
screen_write_kkeypadmode(&ictx->ctx, 1);
|
||||||
log_debug("kkeypad on (application mode)");
|
log_debug("kkeypad on (application mode)");
|
||||||
@ -637,9 +639,11 @@ input_handle_standard_two(u_char ch, struct input_ctx *ictx)
|
|||||||
log_debug2("-- s2 %zu: %hhu (%c)", ictx->off, ch, ch);
|
log_debug2("-- s2 %zu: %hhu (%c)", ictx->off, ch, ch);
|
||||||
|
|
||||||
switch (ch) {
|
switch (ch) {
|
||||||
|
#if 0
|
||||||
case 'B': /* Don't know? */
|
case 'B': /* Don't know? */
|
||||||
ictx->cell.attr &= ~GRID_ATTR_CHARSET;
|
ictx->cell.attr &= ~GRID_ATTR_CHARSET;
|
||||||
break;
|
break;
|
||||||
|
#endif
|
||||||
case 'c': /* RIS */
|
case 'c': /* RIS */
|
||||||
memcpy(&ictx->cell, &grid_default_cell, sizeof ictx->cell);
|
memcpy(&ictx->cell, &grid_default_cell, sizeof ictx->cell);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user