raise utf8 cache to max of 160 characters, re-enable buttons by default

This commit is contained in:
2017-09-17 19:10:16 +02:00
parent 92a454a2cf
commit 82fd9e5ad1
2 changed files with 4 additions and 4 deletions
+3 -3
View File
@@ -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
View File
@@ -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)