ocean.io.console.readline.History

A D wrapper around the GNU readline/history file

The module contains functionalities to manipulate the readline session history (e.g adding lines to the history so when the user would press the up-arrow he would find the old lines).

Notes: - Requires linking with -lhistory - The user of this module doesn't need to call using_history() as its automatically called once this module is imported.

Members

Functions

addHistory
void addHistory(mstring line)

Add a line to the history of the readline

Meta

License

Boost Software License Version 1.0. See LICENSE_BOOST.txt for details. Alternatively, this file may be distributed under the terms of the Tango 3-Clause BSD License (see LICENSE_BSD.txt for details).

Bear in mind this module provides bindings to an external library that has its own license, which might be more restrictive. Please check the external library license to see which conditions apply for linking.