📄 term.h
字号:
/* term: terminal control copyright ?-2006 by the mpg123 project - free software under the terms of the LGPL 2.1 see COPYING and AUTHORS files in distribution or http://mpg123.de initially written by Michael Hipp*/#include "config.h"#ifndef _MPG123_TERM_H_#define _MPG123_TERM_H_#ifdef HAVE_TERMIOS#define LOOP_CYCLES 0.500000 /* Loop time in sec *//* * Defines the keybindings in term.c - change to your * own preferences. */#define HELP_KEY 'h'#define BACK_KEY 'b'#define NEXT_KEY 'f'#define PAUSE_KEY 'p'#define QUIT_KEY 'q'/* space bar is alias for that */#define STOP_KEY 's'#define REWIND_KEY ','#define FORWARD_KEY '.'/* This is convenient on QWERTZ-keyboards. */#define FAST_REWIND_KEY ';'#define FAST_FORWARD_KEY ':'#define FINE_REWIND_KEY '<'#define FINE_FORWARD_KEY '>'/* You probably want to use the following bindings instead * on a standard QWERTY-keyboard: */ /* #define FAST_REWIND_KEY '<' *//* #define FAST_FORWARD_KEY '>' *//* #define FINE_REWIND_KEY ';' *//* #define FINE_FORWARD_KEY ':' *//* this counts as "undocumented" and can disappear */#define FRAME_INDEX_KEY 'i'#define PAUSED_STRING "Paused. \b\b\b\b\b\b\b\b"#define STOPPED_STRING "Stopped.\b\b\b\b\b\b\b\b"#define EMPTY_STRING " \b\b\b\b\b\b\b\b"void term_init(void);long term_control(struct frame *fr, struct audio_info_struct *ai);void term_restore(void);#endif#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -