mirror of https://github.com/Hilbis/Hilbish
Compare commits
2 Commits
91222f9d74
...
b8e0874ab0
Author | SHA1 | Date |
---|---|---|
TorchedSammy | b8e0874ab0 | |
TorchedSammy | ae449b89eb |
|
@ -163,7 +163,7 @@ func (rl *Instance) getNormalCompletion() {
|
|||
// escape the completion mode from here directly.
|
||||
var items bool
|
||||
for _, group := range rl.tcGroups {
|
||||
if len(group.Suggestions) > 0 {
|
||||
if len(group.Suggestions) > 1 {
|
||||
items = true
|
||||
}
|
||||
}
|
||||
|
|
|
@ -10,7 +10,7 @@ import (
|
|||
|
||||
func handleSignals() {
|
||||
c := make(chan os.Signal)
|
||||
signal.Notify(c, os.Interrupt, syscall.SIGWINCH, syscall.SIGUSR1, syscall.SIGUSR2)
|
||||
signal.Notify(c, os.Interrupt, syscall.SIGWINCH, syscall.SIGUSR1, syscall.SIGUSR2, syscall.SIGQUIT)
|
||||
|
||||
for s := range c {
|
||||
switch s {
|
||||
|
|
Loading…
Reference in New Issue