mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 12:53:13 +00:00
Fix bug in pager causing some keybindings to be ignoerd because other are undefined
darcs-hash:20071014111640-75c98-c4d271f9b033a4f644e1b58cdb2e8842aff198d2.gz
This commit is contained in:
parent
89c27c6d9d
commit
25305c6b24
1 changed files with 6 additions and 1 deletions
|
@ -324,8 +324,13 @@ static wint_t readch()
|
|||
;
|
||||
int i;
|
||||
|
||||
for( i=0; m[i].seq; i++ )
|
||||
for( i=0; m[i].bnd; i++ )
|
||||
{
|
||||
if( !m[i].seq )
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
if( try_sequence(m[i].seq ) )
|
||||
return m[i].bnd;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue