📄 feature.h
字号:
* number of lines to scroll at a time. */#define SELECTION_SCROLL_MAX_LINES 2/* * The number of lines (measured in character's heights, not pixels) * the pointer must be out of the window for each increase in the * number of lines scrolled. */#define SELECTION_SCROLL_LINE_SPEEDUP 4/*--------------------------------MISC------------------------------{{{1*//* * Disable to reset tty device to pre-incovation state */#define RESET_TTY_TO_COMMON_DEFAULTS/* * Only log in wtmp file when we're a login shell (-ls option) */#define WTMP_ONLY_ON_LOGIN/* * When pasting ACS characters, convert to similar normal characters */#define ACS_ASCII/* * Default ascii characters to which ACS symbols are converted */#ifdef ACS_ASCII# define ACS_CHARS ".# o+ ----+---__++--|<> =#. "#endif/* * When executing external commands (e.g. via NewTab macro) use attempt to word * split at quotes internally. *//* #define INTERNAL_ARGV_SPLIT *//* * Maximum number of process (executed via Exec / NewTab macros, or -blc option) * that can be alive at one time. */#define MAX_CHILDS (16)/* * Quick timeout default. The amount of time (micro seconds) mrxvt should wait * for X events when a screen refresh is pending. Screen refreshes (especially * with Xft and anti-aliasing) is quite expensive. The higher the value, the * fewer screen refreshes are preformed. If you set it too high, you might find * typing text a little jerky. If you set it too low, bye bye CPU. Try something * in the range of 500 -- 50000 */#define TIMEOUT_USEC (10000)/*--------------------------------BELL------------------------------{{{1*//* * Disable all bell indications *//* #define NO_BELL *//* * Disable automatic de-iconify when a bell is received *//* #define NO_MAPALERT *//* * Have mapAlert behaviour selectable with mapAlert resource */#define MAPALERT_OPTION/*------------------------------TAB BAR-----------------------------{{{1*//* Default title of new tabs if unspecified */#define DEFAULT_TAB_TITLE "Terminal"/*-----------------------------SCROLL BAR---------------------------{{{1*//* * Choose the rxvt style scrollbar width * - should be an even number [default: 10] *//* #define SB_WIDTH_RXVT 10 *//* * Minimum and maximum widths of the scrollbar (all styles) */#define SB_WIDTH_MINIMUM 5#define SB_WIDTH_MAXIMUM 100/* * When using Rxvt scrollbar, clicking above or below the slider will move * 1/4 of the screen height, if possible. Setting RXVT_SCROLL_FULL will move * it one screen height less one line, if possible */#define RXVT_SCROLL_FULL 1/* * (Hops) draw an internal border line on inside edge of the scrollbar *//* #define SB_BORDER *//*------------------------------MENU BAR----------------------------{{{1*//* * Choose how many of (experimental) menuBars you want to be able to stack at * one time. * A value of 1 disables menuBar stacking. * A value of 0 disables menuBar all together. * Note that the amount of memory overhead is the same for any value >= 2. *//* * 2006-02-04 gi1242: The user interface (using escape sequences) for modifying * menus has been disabled due to a security hole. Thus stacking menubars is * absolutely pointless and a waste of memory. The stacking code has been * removed. *//* #define MENUBAR_MAX 8 *//* * Change the default shadow style *//* #define MENUBAR_SHADOW_IN *//* * Change the default shadow style */#define MENU_SHADOW_IN/*---------------------------MULTILINGUAL---------------------------{{{1*//* * Allow run-time selection of Meta (Alt) to set the 8th bit on */#define META8_OPTION/*---------------------------DISPLAY OPTIONS------------------------{{{1*//* * Force local connection to be socket (or other local) communication *//* #define LOCAL_X_IS_UNIX *//* * Have DISPLAY environment variable & "\E[7n" transmit display with IP number *//* #define DISPLAY_IS_IP *//* * Have "\E[7n" transmit the display name. * This has been cited as a potential security hole. *//* #define ENABLE_DISPLAY_ANSWER *//* * Change what ESC Z transmits instead of the default "\E[?1;2c" *//* #define ESCZ_ANSWER "\033[?1;2C" *//* * Check the current value of the window-time/icon-name and avoid * re-setting it to the same value -- avoids unnecessary window refreshes */#define SMART_WINDOW_TITLE/* * Allow colors to be changed with an xterm escape sequence. */#define XTERM_COLOR_CHANGE/* * Remove secondary screen's independent cursor position, a la xterm *//* #define NO_SECONDARY_SCREEN_CURSOR *//* * If no secondary screen is available (NO_SECONDARY_SCREEN in config.h), * then scroll the text up on a window change request *//* #define SCROLL_ON_NO_SECONDARY *//* Width of the term internal border */#define DEFAULT_INTERNALBORDERWIDTH (0)#define MAX_INTERNALBORDERWIDTH (20)/* Width of the term external border */#define DEFAULT_EXTERNALBORDERWIDTH (0)#define MAX_EXTERNALBORDERWIDTH (20)/* Default number of extra dots between lines */#define DEFAULT_LINESPACE (0)#define MAX_LINESPACE (20)/* Default seconds of pointer blank delay */#define DEFAULT_BLANKDELAY (2)#define MAX_BLANKDELAY (20)/* Default number of lines in the scrollback buffer */#define DEFAULT_SAVELINES (100)#define MAX_SAVELINES (0xffff)/* Default bell throttle interval */#define THROTTLE_BELL_MSEC (500)#define THROTTLE_BELL_COUNT (3)/* Default tabstop size */#define TABSTOP_SIZE (8)/* Maximal length and display length of tab title */#define MAX_TAB_TXT (507)#define MAX_DISPLAY_TAB_TXT (40)#define MAX_TAB_PIXEL_WIDTH (200)#define DEFAULT_DISPLAY_TAB_TXT (27)#define DEFAULT_MIN_VISIBLE_TABS (6)/* Minimum Xft font size (pixel) */#define MIN_XFT_FONT_SIZE (1)/* Default Xft font name and size */#define DEFAULT_XFT_FONT_SIZE (12)#define DEFAULT_XFT_FONT_NAME "Monospace"/* Default Xft propotional font name and size (used for menubar / tabs) */#define DEFAULT_XFT_PFONT_SIZE (10)#define DEFAULT_XFT_PFONT_NAME "Sans"/* Default cursor blinking time (ms) */#define MIN_BLINK_TIME (100)#define DEFAULT_BLINK_TIME (500)#define MAX_BLINK_TIME (5000)/* * Make text cursor highlighting be the same as color of char that the cursor is * currently on. */#define CURSOR_COLOR_IS_RENDITION_COLOR/* #define SIMULATE_LINUX_CONSOLE_CURSOR_COLOR *//* Set tab title on Xterm escape sequence to change window title */#define SET_TAB_TITLE_ON_XTERM_SEQUENCE/* Set tab title on Xterm escape sequence but not change window title */#define SET_TAB_TITLE_NOT_WIN_TITLE/* Enable dead key. To do so, set option "XkbLayout" to "us_intl"** in the keyboard device section. Then disable multichar encoding(-km noenc) and use ISO8859-X fonts. */#define USE_DEADKEY/* Strip trailing spaces from selection */#define DONT_SELECT_TRAILING_SPACES/* * Default interval (micro secs) to wait before refreshing the background under * pseudo transparency. */#define DEFAULT_BG_REFRESH_INTERVAL 100000L/* * Default number of pages to skip when jump scrolling. */#define DEFAULT_SKIP_PAGES (25)/* * If an active tab produces fewer than these many characters, a screen refresh * is requested immediately. Otherwise it is delayed slightly (about 10ms) to * ensure that the active tab is not "flat out" scrolling. */#define DEFAULT_REFRESH_LIMIT (0)/* * Provide termcap/terminfo bw support *//* #define TERMCAP_HAS_BW */#endif /* __FEATURE_H__ *//*}}}1*//* vim: set fdm=marker: *//*----------------------- end-of-file (H source) -----------------------*/
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -