SendBox: insert 4 space on tab instead of huge \t

This commit is contained in:
miruka 2019-07-21 18:20:36 -04:00
parent ab2a73dbfc
commit 5a1d974702

View File

@ -122,6 +122,10 @@ HRectangle {
}) })
area.Keys.onEnterPressed.connect(area.Keys.onReturnPressed) area.Keys.onEnterPressed.connect(area.Keys.onReturnPressed)
area.Keys.onTabPressed.connect(event => {
textArea.insert(textArea.cursorPosition, " ")
})
} }
} }
} }