#include "config.h"
#include "History.hxx"
#include "ncmpc_curses.h"
#include <string>
Go to the source code of this file.
|
| std::string | wreadln (WINDOW *w, const char *initial_value, unsigned x1, History *history, Completion *completion) |
| |
| std::string | wreadln_masked (WINDOW *w, const char *initial_value, unsigned x1) |
| |
◆ wreadln()
| std::string wreadln |
( |
WINDOW * |
w, |
|
|
const char * |
initial_value, |
|
|
unsigned |
x1, |
|
|
History * |
history, |
|
|
Completion * |
completion |
|
) |
| |
This function calls curs_set(1), to enable cursor. It will not restore this settings when exiting.
- Parameters
-
| the | curses window to use |
| initial_value | initial value or nullptr for a empty line; (char *) -1 = get value from history |
| x1 | the maximum x position or 0 |
| history | a pointer to a history list or nullptr |
| a | Completion instance or nullptr |
◆ wreadln_masked()
| std::string wreadln_masked |
( |
WINDOW * |
w, |
|
|
const char * |
initial_value, |
|
|
unsigned |
x1 |
|
) |
| |