You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
prompt filter failed:
...\workspace\Tool\cmder\config\powerline_core.lua:135: attempt to index a number value)
stack traceback:
...\workspace\Tool\cmder\config\powerline_core.lua:176: in funct
...\\workspace\Tool\cmder\config\powerline_git.lua:132: in funct
~clink~/app/prompt.lua:301: in function 'func'
~clink~/app/prompt.lua:137: in function <~clink~/app/prompt.lua:124>
[C]: in function 'xpcall'
~clink~/app/prompt.lua:191: in function <~clink~/app/prompt.lua:105>
(...tail calls...)
ERROR IN LUA PROMPT FILTER
Did you report it in the Clink repo instead, because the README in the cmder-powerline-prompt repo says the project is no longer supported?
You haven't shared any configuration information or steps for reproducing the issue. If you share more information, I can try to take a look, even though it's not part of Clink and the actual project repo is abandoned.
But also, the line numbers in the error message do not match up with the latest version of the files from the cmder-powerline-prompt repo. Are you using a modified version of the files? You'll need to share the powerline_core.lua and powerline_git.lua files.
@Leezheng1 also, consider deleting the cmder-powerline-prompt scripts from your computer. Those scripts are very old, they haven't been maintained, and other prompt scripts offer the same look but with more functionality and options.
If you like the "powerline" style prompt, then consider trying one of these instead:
clink-flex-prompt can show a powerline prompt (in the configuration wizard, choose the "Rainbow" style).
The "Agnoster" prompt that comes with Clink; clink config prompt use agnoster (requires Clink v1.7.0 or newer).
Originally posted by @Leezheng1 in #701 (comment)
The text was updated successfully, but these errors were encountered: