Mercurial > pidgin
view console/libgnt/gntkeys.h @ 13932:e18155a11d1c
[gaim-migrate @ 16459]
Two changes here:
1. When auto-linkifying a URL, if \r\n immediately follows the address,
don't include the \r as a part of the URL.
2. When replacing \n with <br> in a given string, if the string
contained any \r's then the end of the string would have a number
of unintialized characters at the end equal to the number of \r's
that were removed.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Sat, 08 Jul 2006 07:26:57 +0000 |
parents | a621329e8c85 |
children | ae4cbed1b309 |
line wrap: on
line source
#ifndef GNT_KEYS_H #define GNT_KEYS_H #define GNT_KEY_POPUP "[29~" /* Arrow keys */ #define GNT_KEY_LEFT "[D" #define GNT_KEY_RIGHT "[C" #define GNT_KEY_UP "[A" #define GNT_KEY_DOWN "[B" #define GNT_KEY_PGUP "[5~" #define GNT_KEY_PGDOWN "[6~" #define GNT_KEY_ENTER "\r" #define GNT_KEY_BACKSPACE "\177" #define GNT_KEY_DEL "[3~" #endif