mirror of
https://github.com/wavetermdev/waveterm.git
synced 2025-01-23 21:51:30 +01:00
history item types
This commit is contained in:
parent
3a8f3dab38
commit
15178248a2
@ -583,6 +583,9 @@ class InputModel {
|
|||||||
uiSubmitCommand() : void {
|
uiSubmitCommand() : void {
|
||||||
mobx.action(() => {
|
mobx.action(() => {
|
||||||
let commandStr = this.getCurLine();
|
let commandStr = this.getCurLine();
|
||||||
|
if (commandStr.trim() == "") {
|
||||||
|
return;
|
||||||
|
}
|
||||||
this.clearCurLine();
|
this.clearCurLine();
|
||||||
GlobalModel.clearInfoMsg(true);
|
GlobalModel.clearInfoMsg(true);
|
||||||
GlobalModel.submitRawCommand(commandStr, true);
|
GlobalModel.submitRawCommand(commandStr, true);
|
||||||
|
@ -127,6 +127,8 @@ type HistoryItem = {
|
|||||||
cmdid : string,
|
cmdid : string,
|
||||||
cmdstr : string,
|
cmdstr : string,
|
||||||
remove : boolean,
|
remove : boolean,
|
||||||
|
remote : RemotePtrType,
|
||||||
|
ismetacmd : boolean,
|
||||||
};
|
};
|
||||||
|
|
||||||
type CmdRemoteStateType = {
|
type CmdRemoteStateType = {
|
||||||
|
Loading…
Reference in New Issue
Block a user