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:
parent
3317d0a2c2
commit
5ab7083035
@ -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")
|
||||
}
|
||||
|
@ -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")
|
||||
}
|
||||
|
@ -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()
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user