Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
liming6
dcu-process-montor
Commits
d653d9ff
Commit
d653d9ff
authored
Jan 12, 2026
by
liming6
Browse files
fix 修复首次按下esc键导致选中第一个dcu进程的问题
parent
10bfd381
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
cmd/hytop/tui/main.go
cmd/hytop/tui/main.go
+5
-1
No files found.
cmd/hytop/tui/main.go
View file @
d653d9ff
...
@@ -132,7 +132,11 @@ func NewModelMain(width, height int) ModelMain {
...
@@ -132,7 +132,11 @@ func NewModelMain(width, height int) ModelMain {
result
.
ProcessInfo
=
NewModelProcessInfo
(
width
)
result
.
ProcessInfo
=
NewModelProcessInfo
(
width
)
result
.
dialog
=
NewDialog
(
nil
)
result
.
dialog
=
NewDialog
(
nil
)
result
.
pstree
=
NewModelPsTree
(
width
,
height
)
result
.
pstree
=
NewModelPsTree
(
width
,
height
)
result
.
actionMsg
=
&
ActionMsg
{}
result
.
actionMsg
=
&
ActionMsg
{
HelpView
:
false
,
TargetDCUIndex
:
-
1
,
VM
:
VMMain
,
}
result
.
processEnv
=
nil
result
.
processEnv
=
nil
return
result
return
result
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment