Remove unused code

This commit is contained in:
Kovid Goyal
2023-03-30 10:26:39 +05:30
parent 57ef0e29c0
commit 9919767aef
9 changed files with 0 additions and 27 deletions

View File

@@ -7,7 +7,6 @@ import (
"strings"
"kitty/tools/cli"
"kitty/tools/tty"
"kitty/tools/utils"
"kitty/tools/wcswidth"
)
@@ -64,8 +63,6 @@ type completions struct {
current completion
}
var _ = tty.DebugPrintln
func (self *Readline) complete(forwards bool, repeat_count uint) bool {
c := &self.completions
if c.completer == nil {

View File

@@ -11,7 +11,6 @@ import (
"time"
"kitty/tools/cli"
"kitty/tools/tty"
"kitty/tools/utils"
"kitty/tools/utils/shlex"
"kitty/tools/wcswidth"
@@ -399,8 +398,6 @@ func (self *Readline) history_search_prompt() string {
return fmt.Sprintf("history %s: ", ans)
}
var _ = tty.DebugPrintln
func (self *Readline) history_completer(before_cursor, after_cursor string) (ans *cli.Completions) {
ans = cli.NewCompletions()
if before_cursor != "" {