newt_win_ternary
简介
针对命令行的扩展
PHP 手册
GNU Readline
简介
安装/配置
需求
安装
运行时配置
资源类型
预定义常量
Readline 函数
readline_add_history
— Adds a line to the history
readline_callback_handler_install
— Initializes the readline callback interface and terminal, prints the prompt and returns immediately
readline_callback_handler_remove
— Removes a previously installed callback handler and restores terminal settings
readline_callback_read_char
— Reads a character and informs the readline callback interface when a line is received
readline_clear_history
— Clears the history
readline_completion_function
— Registers a completion function
readline_info
— Gets/sets various internal readline variables
readline_list_history
— Lists the history
readline_on_new_line
— Inform readline that the cursor has moved to a new line
readline_read_history
— Reads the history
readline_redisplay
— Redraws the display
readline_write_history
— Writes the history
readline
— Reads a line
newt_win_ternary
简介
针对命令行的扩展
PHP 手册