Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions recline/repl/shell.py
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,7 @@ def track_command_history(filename: str) -> None:
# default history len is -1 (infinite), which may grow unruly
readline.set_history_length(1000)
except IOError:
# Missing/unreadable history file is non-fatal (e.g., first run); continue.
pass
atexit.register(readline.write_history_file, filename)

Expand Down
Loading