Skip to content

Commit 8dc590b

Browse files
committed
Updated docs.
1 parent 92fb23f commit 8dc590b

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

consolekit/__init__.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,18 @@
33
# __init__.py
44
"""
55
Additional utilities for `click <https://click.palletsprojects.com/en/7.x/>`_.
6+
7+
.. attention::
8+
9+
``consolekit`` disables Python's readline history to prevent unrelated histories appearing for prompts.
10+
If the original behaviour is desired run:
11+
12+
.. code-block:: python
13+
14+
import readline
15+
readline.set_history_length(-1)
16+
readline.set_auto_history(True)
17+
618
"""
719
#
820
# Copyright © 2020 Dominic Davis-Foster <[email protected]>

0 commit comments

Comments
 (0)