diff options
author | James Booth <boothj5@gmail.com> | 2012-07-28 01:36:08 +0100 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2012-07-28 01:36:08 +0100 |
commit | ea5c1f0fa452a8ffc1009921f19d0b93d9fc891e (patch) | |
tree | 81bba8d2ffbb7942ba49f52b66dbf33a7bf4fc3c /src/windows.c | |
parent | ee6ac9be264db31736bde40af0320fa9542e885f (diff) | |
download | profani-tty-ea5c1f0fa452a8ffc1009921f19d0b93d9fc891e.tar.gz |
Added tiny command
Diffstat (limited to 'src/windows.c')
-rw-r--r-- | src/windows.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/windows.c b/src/windows.c index 1d52fa64..c2d2294b 100644 --- a/src/windows.c +++ b/src/windows.c @@ -362,6 +362,7 @@ cons_help(void) cons_show("/prefs : Show current UI preferences."); cons_show("/connect user@host : Login to jabber."); cons_show("/msg user@host mesg : Send mesg to user."); + cons_show("/tiny user@host url : Send url as tinyurl"); cons_show("/close : Close a chat window."); cons_show("/who : Find out who is online."); cons_show("/ros : List all contacts."); @@ -518,10 +519,6 @@ _create_windows(void) wprintw(_cons_win, "\n"); _win_show_time(_cons_win); wprintw(_cons_win, "Type '/help' to get started.\n"); - - tinyurl_init(); - char *url = tinyurl_get("http://www.london2012.com/schedule-and-results/"); - cons_show(url); } prefresh(_cons_win, 0, 0, 1, 0, rows-3, cols-1); |