| 6 |
details. |
details. |
| 7 |
|
|
| 8 |
Menu-based user interface -- send message |
Menu-based user interface -- send message |
| 9 |
$Id: menusend.c,v 1.5 2002/09/18 23:26:16 rabbi Exp $ */ |
$Id: menusend.c,v 1.6 2002/10/09 20:53:29 weaselp Exp $ */ |
| 10 |
|
|
| 11 |
|
|
| 12 |
#include "menu.h" |
#include "menu.h" |
| 206 |
printw("no"); |
printw("no"); |
| 207 |
cl(12, 0); |
cl(12, 0); |
| 208 |
if (key == 0) |
if (key == 0) |
| 209 |
printw("attach pgp k)ey: no"); |
printw("attach pgp k)ey: no"); |
| 210 |
} |
} |
| 211 |
#endif /* USE_PGP */ |
#endif /* USE_PGP */ |
| 212 |
|
|
| 308 |
beep(); |
beep(); |
| 309 |
#endif /* USE_NCURSES */ |
#endif /* USE_NCURSES */ |
| 310 |
} else { |
} else { |
| 311 |
|
|
| 312 |
if (!cursorpos && txt->length == 0 && (type == 'm' || type == 'p')) |
if (!cursorpos && txt->length == 0 && (type == 'm' || type == 'p')) |
| 313 |
showhdr = 0; |
showhdr = 0; |
| 314 |
|
|
| 535 |
case 'k': |
case 'k': |
| 536 |
if (!streq(thisnym, ANON)) { |
if (!streq(thisnym, ANON)) { |
| 537 |
BUFFER *p, *keytxt, *uid; |
BUFFER *p, *keytxt, *uid; |
| 538 |
|
|
| 539 |
key = 1; |
key = 1; |
| 540 |
p = buf_new(); |
p = buf_new(); |
| 541 |
keytxt = buf_new(); |
keytxt = buf_new(); |