summaryrefslogtreecommitdiff
path: root/src/constants.go
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2015-09-18 10:25:07 +0900
committerJunegunn Choi <junegunn.c@gmail.com>2015-09-18 10:25:07 +0900
commitca19762e58533c6d7c7b25d7fcc41dc7ea898b3e (patch)
tree11a5fafed5d71ce02014b5b96af5c806ed76d121 /src/constants.go
parent8764be07e2c97b667bd8437417e0a592082a918d (diff)
downloadfzf-ca19762e58533c6d7c7b25d7fcc41dc7ea898b3e.tar.gz
Exit status 130 when fzf is terminated by the user
Related: #345
Diffstat (limited to 'src/constants.go')
-rw-r--r--src/constants.go7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/constants.go b/src/constants.go
index 9a4fc29f..1cc4f81f 100644
--- a/src/constants.go
+++ b/src/constants.go
@@ -49,7 +49,8 @@ const (
)
const (
- exitOk = 0
- exitNoMatch = 1
- exitError = 2
+ exitOk = 0
+ exitNoMatch = 1
+ exitError = 2
+ exitInterrupt = 130
)