mirror of
https://github.com/mamoe/mirai.git
synced 2025-02-13 03:16:05 +08:00
PromptText
This commit is contained in:
parent
af05bc517f
commit
182078679f
@ -68,6 +68,9 @@ class PrimaryView : View() {
|
||||
|
||||
// command input
|
||||
textfield {
|
||||
|
||||
promptText = "在这里输出命令"
|
||||
|
||||
setOnKeyPressed {
|
||||
if (it.code == KeyCode.ENTER) {
|
||||
runAsync {
|
||||
|
Loading…
Reference in New Issue
Block a user