More debug prints

This commit is contained in:
Kovid Goyal
2026-02-22 16:44:57 +05:30
parent 6edad05c21
commit 3db06a2915

View File

@@ -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