Package org.jline.reader.impl.history
package org.jline.reader.impl.history
JLine 3 History Implementation Package.
This package provides implementations of the History
interface
for managing command history in interactive applications. Command history allows users
to recall, edit, and reuse previously entered commands.
Key features of the history implementation include:
- Persistent storage of command history in files
- Configurable history size limits for memory and file storage
- Support for timestamped history entries
- Filtering of history entries based on patterns
- Duplicate entry handling (ignore, reduce blanks, etc.)
- Navigation through history (previous/next, first/last, etc.)
The main implementation class is DefaultHistory
,
which provides a file-backed history implementation with various configuration options.
- Since:
- 3.0
- See Also:
-
ClassesClassDescriptionDefault implementation of
History
with file-based persistent storage.Default implementation of theHistory.Entry
interface.