mirror of
https://github.com/neovim/neovim
synced 2025-07-16 01:01:49 +00:00
fix(termdebug): replace term_getline with getbufline #15598
Correct incomplete runtime file port in
79cbbd5179
This commit is contained in:
@ -263,7 +263,7 @@ func s:StartDebug_term(dict)
|
||||
endif
|
||||
|
||||
for lnum in range(1, 200)
|
||||
if term_getline(s:gdbbuf, lnum) =~ 'startupdone'
|
||||
if get(getbufline(s:gdbbuf, lnum), 0, '') =~ 'startupdone'
|
||||
let try_count = 9999
|
||||
break
|
||||
endif
|
||||
|
Reference in New Issue
Block a user