Skip to content

Commit 2474de9

Browse files
Change running thread icon to not-expandable
1 parent 5e24df8 commit 2474de9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

python3/vimspector/stack_trace.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,8 @@ def _DrawThreads( self ):
363363
hl = 'CursorLineNr' )
364364

365365
for thread in s.threads:
366-
icon = '+' if not thread.IsExpanded() else '-'
366+
icon = '+' if ( thread.CanExpand()
367+
and not thread.IsExpanded() ) else '-'
367368
line = utils.AppendToBuffer(
368369
self._buf,
369370
f'{icon} Thread {thread.id}: {thread.thread["name"]} '

0 commit comments

Comments
 (0)