Compare commits

..

No commits in common. "b8e0874ab036fac78ba4fe519e63800595d3a849" and "91222f9d747c7dea2bd43a550db530a01ad0c5c7" have entirely different histories.

2 changed files with 2 additions and 2 deletions

View File

@ -163,7 +163,7 @@ func (rl *Instance) getNormalCompletion() {
// escape the completion mode from here directly. // escape the completion mode from here directly.
var items bool var items bool
for _, group := range rl.tcGroups { for _, group := range rl.tcGroups {
if len(group.Suggestions) > 1 { if len(group.Suggestions) > 0 {
items = true items = true
} }
} }

View File

@ -10,7 +10,7 @@ import (
func handleSignals() { func handleSignals() {
c := make(chan os.Signal) c := make(chan os.Signal)
signal.Notify(c, os.Interrupt, syscall.SIGWINCH, syscall.SIGUSR1, syscall.SIGUSR2, syscall.SIGQUIT) signal.Notify(c, os.Interrupt, syscall.SIGWINCH, syscall.SIGUSR1, syscall.SIGUSR2)
for s := range c { for s := range c {
switch s { switch s {