mirror of
https://github.com/zyedidia/micro.git
synced 2026-03-16 05:47:06 +09:00
Fix yn callback bug
This commit is contained in:
@@ -351,11 +351,6 @@ func (h *BufHandler) SelectToEnd() bool {
|
||||
|
||||
// InsertNewline inserts a newline plus possible some whitespace if autoindent is on
|
||||
func (h *BufHandler) InsertNewline() bool {
|
||||
if h.Buf.Type == buffer.BTInfo {
|
||||
InfoBar.DonePrompt(false)
|
||||
return false
|
||||
}
|
||||
|
||||
// Insert a newline
|
||||
if h.Cursor.HasSelection() {
|
||||
h.Cursor.DeleteSelection()
|
||||
|
||||
Reference in New Issue
Block a user