Skip to content

Commit

Permalink
[interactive] Set horizontal scroll mode in GNU readline.
Browse files Browse the repository at this point in the history
This addresses #257.  A one line fix for a years old issue!
  • Loading branch information
Andy C committed Jan 30, 2022
1 parent cce98d9 commit 218d5aa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion core/comp_ui.py
Expand Up @@ -553,7 +553,9 @@ def _MaybeWriteHistoryFile(history_filename):

# The 'atexit' module is a small wrapper around sys.exitfunc.
atexit.register(_MaybeWriteHistoryFile, history_filename)
readline_mod.parse_and_bind("tab: complete")
readline_mod.parse_and_bind('tab: complete')

readline_mod.parse_and_bind('set horizontal-scroll-mode on')

# How does this map to C?
# https://cnswww.cns.cwru.edu/php/chet/readline/readline.html#SEC45
Expand Down
2 changes: 1 addition & 1 deletion devtools/release-note.sh
Expand Up @@ -14,7 +14,7 @@ set -o errexit
source devtools/release-version.sh # for escape-segements

readonly OIL_VERSION=$(head -n 1 oil-version.txt)
readonly PREV_VERSION='0.9.4'
readonly PREV_VERSION='0.9.6'

# adapted from release-version.sh
_git-changelog-body() {
Expand Down

0 comments on commit 218d5aa

Please sign in to comment.