mirror of
https://github.com/dvorka/hstr.git
synced 2024-09-20 14:56:14 +08:00
Fixing prompt to selection move on C-/ (was 2nd line instead of 1st) + making 1-dist.sh robust regardless automake location.
This commit is contained in:
parent
e06f93d01d
commit
c71530db1c
10
dist/1-dist.sh
vendored
10
dist/1-dist.sh
vendored
|
@ -8,9 +8,13 @@ automake --force-missing --add-missing
|
|||
autoconf
|
||||
|
||||
rm -rvf autom*te.cache
|
||||
cp -vf /usr/share/automake-1.11/depcomp .
|
||||
cp -vf /usr/share/automake-1.11/install-sh .
|
||||
cp -vf /usr/share/automake-1.11/missing .
|
||||
|
||||
if [ -d /usr/share/automake-1.11 ]
|
||||
then
|
||||
cp -vf /usr/share/automake-1.11/depcomp .
|
||||
cp -vf /usr/share/automake-1.11/install-sh .
|
||||
cp -vf /usr/share/automake-1.11/missing .
|
||||
fi
|
||||
|
||||
cd dist
|
||||
|
||||
|
|
|
@ -781,7 +781,7 @@ void loop_to_select(Hstr *hstr)
|
|||
hstr_next_view(hstr);
|
||||
result=hstr_print_selection(maxHistoryItems, pattern, hstr);
|
||||
print_history_label(hstr);
|
||||
selectionCursorPosition=0;
|
||||
selectionCursorPosition=SELECTION_CURSOR_IN_PROMPT;
|
||||
if(strlen(pattern)<(width-basex-1)) {
|
||||
print_prefix(pattern, y, basex);
|
||||
cursorX=getcurx(stdscr);
|
||||
|
|
Loading…
Reference in a new issue