1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-07-04 20:16:44 +02:00

improve line history functionality

This commit is contained in:
Jfreegman
2013-12-14 00:36:06 -05:00
parent 34cc4314a5
commit 10ae3865ca
3 changed files with 21 additions and 11 deletions

View File

@ -34,7 +34,7 @@
#define T_KEY_KILL 0xB /* ctrl-k */
#define T_KEY_DISCARD 0x15 /* ctrl-u */
#define T_KEY_NEXT 0x10 /* ctrl-p */
#define T_KEY_PREV 0x0f /* ctrl-o */
#define T_KEY_PREV 0x0F /* ctrl-o */
/* Curses foreground colours (background is black) */
enum {
@ -111,7 +111,7 @@ struct StatusBar {
bool is_online;
};
#define MAX_LINE_HIST 64
#define MAX_LINE_HIST 128
/* chat and groupchat window/buffer holder */
struct ChatContext {