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

http-comm
Ondřej Hruška 7 years ago
parent 92a454a2cf
commit 82fd9e5ad1
  1. 6
      user/screen.h
  2. 2
      user/utf8.h

@ -65,11 +65,11 @@ enum CursorShape {
CURSOR_BAR = 6,
};
#define SCR_DEF_SHOW_BUTTONS 0
#define SCR_DEF_SHOW_BUTTONS 1
#define SCR_DEF_SHOW_MENU 1
#define SCR_DEF_CURSOR_SHAPE CURSOR_BLOCK_BL
#define SCR_DEF_CRLF 0
#define SCR_DEF_ALLFN 0
#define SCR_DEF_CRLF 0 // enter sends CRLF
#define SCR_DEF_ALLFN 0 // capture F5 etc
// --- Persistent Settings ---
#define CURSOR_BLINKS(shape) ((shape)==CURSOR_BLOCK_BL||(shape)==CURSOR_UNDERLINE_BL||(shape)==CURSOR_BAR_BL)

@ -8,7 +8,7 @@
#include <c_types.h>
// 160 is maximum possible
#define UNICODE_CACHE_SIZE 100
#define UNICODE_CACHE_SIZE 160
typedef u8 UnicodeCacheRef;
#define IS_UNICODE_CACHE_REF(c) ((c) < 32 || (c) >= 127)

Loading…
Cancel
Save