2
2
mirror of https://github.com/Hilbis/Hilbish synced 2025-07-01 00:32:03 +00:00

fix: reference of old Instance type name

This commit is contained in:
sammyette 2025-06-15 15:22:58 -04:00
parent 3317d0a2c2
commit 5ab7083035
Signed by: sammyette
GPG Key ID: 904FC49417B44DCD
3 changed files with 4 additions and 3 deletions

View File

@ -1,9 +1,10 @@
//go:build plan9
// +build plan9
package readline
import "errors"
func (rl *Instance) launchEditor(multiline []rune) ([]rune, error) {
func (rl *Readline) launchEditor(multiline []rune) ([]rune, error) {
return rl.line, errors.New("Not currently supported on Plan 9")
}

View File

@ -5,6 +5,6 @@ package readline
import "errors"
// StartEditorWithBuffer - Not implemented on Windows platforms.
func (rl *Instance) StartEditorWithBuffer(multiline []rune, filename string) ([]rune, error) {
func (rl *Readline) StartEditorWithBuffer(multiline []rune, filename string) ([]rune, error) {
return rl.line, errors.New("Not currently supported on Windows")
}

View File

@ -5,7 +5,7 @@ import "regexp"
// SetHintText - a nasty function to force writing a new hint text. It does not update helpers, it just renders
// them, so the hint will survive until the helpers (thus including the hint) will be updated/recomputed.
/*
func (rl *Instance) SetHintText(s string) {
func (rl *Readline) SetHintText(s string) {
rl.hintText = []rune(s)
rl.renderHelpers()
}