mirror of
https://github.com/junegunn/fzf.git
synced 2025-11-17 07:43:39 -05:00
@@ -49,7 +49,8 @@ const (
|
||||
)
|
||||
|
||||
const (
|
||||
exitOk = 0
|
||||
exitNoMatch = 1
|
||||
exitError = 2
|
||||
exitOk = 0
|
||||
exitNoMatch = 1
|
||||
exitError = 2
|
||||
exitInterrupt = 130
|
||||
)
|
||||
|
||||
@@ -791,7 +791,7 @@ func (t *Terminal) Loop() {
|
||||
exit(exitNoMatch)
|
||||
case reqQuit:
|
||||
C.Close()
|
||||
exit(exitError)
|
||||
exit(exitInterrupt)
|
||||
}
|
||||
}
|
||||
t.placeCursor()
|
||||
|
||||
Reference in New Issue
Block a user