Mercurial > hg > nnchat
changeset 187:c73003485c2d
F7 to clear current PRV target.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Tue, 16 Nov 2010 02:39:59 +0200 |
parents | ff3688e747c3 |
children | 6b399b7ce40b |
files | nnchat.c |
diffstat | 1 files changed, 10 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/nnchat.c Tue Nov 16 02:06:52 2010 +0200 +++ b/nnchat.c Tue Nov 16 02:39:59 2010 +0200 @@ -1171,6 +1171,16 @@ printMsg("Ignore mode = %s\n", setIgnoreMode ? "ON" : "OFF"); break; + case 0x10f: /* F7 = Clear PRV target */ + if (setTarget) { + printMsg("Cleared PRV target.\n"); + setPrvMode = FALSE; + th_free(setTarget); + setTarget = NULL; + update = TRUE; + } + break; + case 0x110: /* F8 = switch between PRV */ if (setPrvMode) setPrvMode = FALSE;