# HG changeset patch # User mikael # Date 1111614402 0 # Node ID 755a42615cc63e325069e60949f29f22a91bd8c4 # Parent 00183c49c45eb4e450a155494e77daa8eb8ace39 [/trunk] Changeset 32 by mikael * Don't go in chat mode automatically after , * Change attribution prefix in dialog windows (better??) * Display a message in the status Window, just to recognise it... diff -r 00183c49c45e -r 755a42615cc6 mcabber/TODO --- a/mcabber/TODO Wed Mar 23 21:31:09 2005 +0000 +++ b/mcabber/TODO Wed Mar 23 21:46:42 2005 +0000 @@ -1,5 +1,4 @@ -* chatmode seems buggy * un-export window internal structure, use a public function * pending message not displayed if buddy outside Contact window @@ -14,6 +13,7 @@ - /status (and common shortcuts: /away, /online, /busy, /dnd) * Buddies status * Better command line (wider than 80 chars) +* Command line history (^P/^N) * External commands for events * Multi-lines * Command line completion diff -r 00183c49c45e -r 755a42615cc6 mcabber/screen.c --- a/mcabber/screen.c Wed Mar 23 21:31:09 2005 +0000 +++ b/mcabber/screen.c Wed Mar 23 21:46:42 2005 +0000 @@ -474,6 +474,7 @@ // ((maxX - 20) - strlen(i18n("Status Window"))) / 2, // i18n("Status Window")); //wbkgd(chatWnd, COLOR_PAIR(COLOR_GENERAL)); + mvwprintw(chatWnd, 1, 1, "This is the status window"); logWnd_border = newwin(LOG_WIN_HEIGHT, maxX, CHAT_WIN_HEIGHT, 0); logPanel_border = new_panel(logWnd_border); @@ -516,7 +517,7 @@ int n, i; char *buffer = (char *) malloc(5 + strlen(text)); - sprintf(buffer, "<<< %s", text); + sprintf(buffer, "<-- %s", text); submsgs = ut_SplitMessage(buffer, &n, maxX - scr_WindowHeight(rosterWnd) - 20); @@ -555,7 +556,7 @@ scr_CreatePopup(tmp->jid, buffer2, 60, 1, buffer); if (strlen(buffer)) { - sprintf(buffer2, ">>> %s", buffer); + sprintf(buffer2, "--> %s", buffer); submsgs = ut_SplitMessage(buffer2, &n, @@ -638,7 +639,7 @@ scr_ShowWindow(tmp->jid); - sprintf(buffer, ">>> %s", msg); + sprintf(buffer, "--> %s", msg); submsgs = ut_SplitMessage(buffer, &n, @@ -726,11 +727,13 @@ break; case KEY_UP: bud_RosterUp(); - scr_ShowBuddyWindow(); + if (chatmode) + scr_ShowBuddyWindow(); break; case KEY_DOWN: bud_RosterDown(); - scr_ShowBuddyWindow(); + if (chatmode) + scr_ShowBuddyWindow(); break; case KEY_PPAGE: scr_LogPrint("PageUp??");