mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-25 17:52:02 +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
|
return ans
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
debugprintln(1111111, getcwd())
|
|
||||||
return func(before_cursor, after_cursor string) (ans *cli.Completions) {
|
return func(before_cursor, after_cursor string) (ans *cli.Completions) {
|
||||||
defer func() {
|
defer func() {
|
||||||
if r := recover(); r != nil {
|
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))
|
prefix = d + utils.IfElse(strings.HasSuffix(d, string(os.PathSeparator)), "", string(os.PathSeparator))
|
||||||
}
|
}
|
||||||
dir := ""
|
dir := ""
|
||||||
debugprintln(2222222, getcwd())
|
|
||||||
if path == "" {
|
if path == "" {
|
||||||
path = getcwd()
|
path = getcwd()
|
||||||
dir = path
|
dir = path
|
||||||
|
|||||||
Reference in New Issue
Block a user