raise utf8 cache to max of 160 characters, re-enable buttons by default
This commit is contained in:
+3
-3
@@ -65,11 +65,11 @@ enum CursorShape {
|
|||||||
CURSOR_BAR = 6,
|
CURSOR_BAR = 6,
|
||||||
};
|
};
|
||||||
|
|
||||||
#define SCR_DEF_SHOW_BUTTONS 0
|
#define SCR_DEF_SHOW_BUTTONS 1
|
||||||
#define SCR_DEF_SHOW_MENU 1
|
#define SCR_DEF_SHOW_MENU 1
|
||||||
#define SCR_DEF_CURSOR_SHAPE CURSOR_BLOCK_BL
|
#define SCR_DEF_CURSOR_SHAPE CURSOR_BLOCK_BL
|
||||||
#define SCR_DEF_CRLF 0
|
#define SCR_DEF_CRLF 0 // enter sends CRLF
|
||||||
#define SCR_DEF_ALLFN 0
|
#define SCR_DEF_ALLFN 0 // capture F5 etc
|
||||||
|
|
||||||
// --- Persistent Settings ---
|
// --- Persistent Settings ---
|
||||||
#define CURSOR_BLINKS(shape) ((shape)==CURSOR_BLOCK_BL||(shape)==CURSOR_UNDERLINE_BL||(shape)==CURSOR_BAR_BL)
|
#define CURSOR_BLINKS(shape) ((shape)==CURSOR_BLOCK_BL||(shape)==CURSOR_UNDERLINE_BL||(shape)==CURSOR_BAR_BL)
|
||||||
|
|||||||
+1
-1
@@ -8,7 +8,7 @@
|
|||||||
#include <c_types.h>
|
#include <c_types.h>
|
||||||
|
|
||||||
// 160 is maximum possible
|
// 160 is maximum possible
|
||||||
#define UNICODE_CACHE_SIZE 100
|
#define UNICODE_CACHE_SIZE 160
|
||||||
|
|
||||||
typedef u8 UnicodeCacheRef;
|
typedef u8 UnicodeCacheRef;
|
||||||
#define IS_UNICODE_CACHE_REF(c) ((c) < 32 || (c) >= 127)
|
#define IS_UNICODE_CACHE_REF(c) ((c) < 32 || (c) >= 127)
|
||||||
|
|||||||
Reference in New Issue
Block a user