/[LeafOK_CVS]/lbbs/src/editor.c
ViewVC logotype

Diff of /lbbs/src/editor.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.58 by sysadm, Mon Nov 10 07:23:16 2025 UTC Revision 1.60 by sysadm, Tue Nov 11 00:28:05 2025 UTC
# Line 6  Line 6 
6   * Copyright (C) 2004-2025  Leaflet <leaflet@leafok.com>   * Copyright (C) 2004-2025  Leaflet <leaflet@leafok.com>
7   */   */
8    
9    #ifdef HAVE_CONFIG_H
10    #include "config.h"
11    #endif
12    
13  #include "bbs.h"  #include "bbs.h"
14  #include "common.h"  #include "common.h"
15  #include "editor.h"  #include "editor.h"
# Line 23  enum _editor_constant_t Line 27  enum _editor_constant_t
27  {  {
28          EDITOR_MEM_POOL_LINE_PER_CHUNK = 1000,          EDITOR_MEM_POOL_LINE_PER_CHUNK = 1000,
29          EDITOR_MEM_POOL_CHUNK_LIMIT = (MAX_EDITOR_DATA_LINES / EDITOR_MEM_POOL_LINE_PER_CHUNK + 1),          EDITOR_MEM_POOL_CHUNK_LIMIT = (MAX_EDITOR_DATA_LINES / EDITOR_MEM_POOL_LINE_PER_CHUNK + 1),
         TAB_SIZE = 4,  
30  };  };
31    
32  static const char EDITOR_ESC_DISPLAY_STR[] = "\033[32m*\033[m";  static const char EDITOR_ESC_DISPLAY_STR[] = "\033[32m*\033[m";


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

webmaster@leafok.com
ViewVC Help
Powered by ViewVC 1.3.0-beta1