📄 input.h
字号:
/* * psql - the PostgreSQL interactive terminal * * Copyright (c) 2000-2005, PostgreSQL Global Development Group * * $PostgreSQL: pgsql/src/bin/psql/input.h,v 1.23 2005/01/01 05:43:08 momjian Exp $ */#ifndef INPUT_H#define INPUT_H/* * If some other file needs to have access to readline/history, include this * file and save yourself all this work. * * USE_READLINE is the definite pointers regarding existence or not. */#ifdef HAVE_LIBREADLINE#define USE_READLINE 1#if defined(HAVE_READLINE_READLINE_H)#include <readline/readline.h>#elif defined(HAVE_EDITLINE_READLINE_H)#include <editline/readline.h>#elif defined(HAVE_READLINE_H)#include <readline.h>#endif#if defined(HAVE_READLINE_HISTORY_H)#include <readline/history.h>#elif defined(HAVE_EDITLINE_HISTORY_H)#include <editline/history.h>#elif defined(HAVE_HISTORY_H)#include <history.h>#endif#endifchar *gets_interactive(const char *prompt);char *gets_fromFile(FILE *source);void initializeInput(int flags);bool saveHistory(char *fname);#endif /* INPUT_H */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -