mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-25 17:52:02 +02:00
Remove unused code
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -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 != "" {
|
||||
|
||||
Reference in New Issue
Block a user