diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/keyboard.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/keyboard.c b/src/keyboard.c index a50322f4256..93feb45ca88 100644 --- a/src/keyboard.c +++ b/src/keyboard.c | |||
| @@ -84,7 +84,12 @@ extern int input_fd; | |||
| 84 | 84 | ||
| 85 | #ifdef HAVE_WINDOW_SYSTEM | 85 | #ifdef HAVE_WINDOW_SYSTEM |
| 86 | /* Make all keyboard buffers much bigger when using X windows. */ | 86 | /* Make all keyboard buffers much bigger when using X windows. */ |
| 87 | #ifdef macintosh | ||
| 88 | /* But not too big (local data > 32K error) if on macintosh */ | ||
| 89 | #define KBD_BUFFER_SIZE 512 | ||
| 90 | #else | ||
| 87 | #define KBD_BUFFER_SIZE 4096 | 91 | #define KBD_BUFFER_SIZE 4096 |
| 92 | #endif | ||
| 88 | #else /* No X-windows, character input */ | 93 | #else /* No X-windows, character input */ |
| 89 | #define KBD_BUFFER_SIZE 256 | 94 | #define KBD_BUFFER_SIZE 256 |
| 90 | #endif /* No X-windows */ | 95 | #endif /* No X-windows */ |