1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-06-29 21:36:46 +02:00

allow friendlist to scroll up and down if friends overflow the window

This commit is contained in:
Jfreegman
2013-12-02 18:23:04 -05:00
parent 81c48f7b2b
commit 7a89229375
5 changed files with 19 additions and 12 deletions

View File

@ -42,12 +42,12 @@ bool valid_nick(uint8_t *nick);
*/
/* Adds char to buffer at pos */
void add_char_to_buf(wint_t ch, wchar_t *buf, size_t *pos, size_t *len);
void add_char_to_buf(wchar_t *buf, size_t *pos, size_t *len, wint_t ch);
/* Deletes the character before pos */
void del_char_buf_bck(wchar_t *buf, size_t *pos, size_t *len);
/* Deletes the character at pos */
/* Deletes the character after pos */
void del_char_buf_frnt(wchar_t *buf, size_t *pos, size_t *len);
/* nulls buf and sets pos and len to 0 */