mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-19 23:14:55 +02:00
More debug prints
This commit is contained in:
@@ -24,7 +24,6 @@ func FilePromptCompleter(getcwd func() string) func(string, string) *cli.Complet
|
||||
return ans
|
||||
}
|
||||
}
|
||||
debugprintln(1111111, getcwd())
|
||||
return func(before_cursor, after_cursor string) (ans *cli.Completions) {
|
||||
defer func() {
|
||||
if r := recover(); r != nil {
|
||||
@@ -40,7 +39,6 @@ func FilePromptCompleter(getcwd func() string) func(string, string) *cli.Complet
|
||||
prefix = d + utils.IfElse(strings.HasSuffix(d, string(os.PathSeparator)), "", string(os.PathSeparator))
|
||||
}
|
||||
dir := ""
|
||||
debugprintln(2222222, getcwd())
|
||||
if path == "" {
|
||||
path = getcwd()
|
||||
dir = path
|
||||
|
||||
Reference in New Issue
Block a user