preparation du plan B

This commit is contained in:
phyto
2019-05-22 09:50:25 +02:00
parent dcc927418b
commit 1b03d60613
9 changed files with 46 additions and 21 deletions

View File

@@ -21,16 +21,6 @@ extern int verbosity;
int special_dumper(FILE *fp, unsigned char octet);
/* ---------------------------------------------------------------- */
static void bordure(WINDOW * w, char *texte, int type)
{
if (type)
box(w, 0, 0);
else
wborder(w, '|', '|', '-', '-', '+', '+', '+', '+');
wstandout(w); mvwaddstr(w, 0, 3, texte); wstandend(w);
wrefresh(w);
}
/* ---------------------------------------------------------------- */
static int interactive(WINDOW *glass, int fd_local, int fd_remote)
{
@@ -98,7 +88,7 @@ do {
received = wgetch(glass);
echo();
#if DEBUG_LEVEL
#if DEBUG_LEVEL > 1
sprintf(ligne, " got $%X '%c'\n", received,
isprint(received) ? received : '?');
waddstr(glass, ligne); wrefresh(glass);