term.h

来自「mpeg 2 source code for video compression」· C头文件 代码 · 共 61 行

H
61
字号
/*	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);void term_restore(void);#endif#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?