mirror of https://github.com/Hilbis/Hilbish
fix(readline): input getting cut off on enter
parent
1e48a3e03d
commit
48cb62282d
|
@ -868,6 +868,8 @@ func (rl *Instance) escapeSeq(r []rune) {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (rl *Instance) carridgeReturn() {
|
func (rl *Instance) carridgeReturn() {
|
||||||
|
rl.moveCursorByAdjust(len(rl.line))
|
||||||
|
rl.updateHelpers()
|
||||||
rl.clearHelpers()
|
rl.clearHelpers()
|
||||||
print("\r\n")
|
print("\r\n")
|
||||||
if rl.HistoryAutoWrite {
|
if rl.HistoryAutoWrite {
|
||||||
|
|
Loading…
Reference in New Issue