mirror of
https://github.com/fish-shell/fish-shell
synced 2024-11-11 07:34:32 +00:00
Modified screen.cpp to compile on Linux.
This commit is contained in:
parent
76f870a30a
commit
a6b3f6b5d4
1 changed files with 1 additions and 1 deletions
|
@ -207,7 +207,7 @@ static int calc_prompt_width( const wchar_t *prompt )
|
|||
wchar_t *term_name = env_get( L"TERM" );
|
||||
if( term_name && wcsstr( term_name, L"screen" ) == term_name )
|
||||
{
|
||||
wchar_t *end;
|
||||
const wchar_t *end;
|
||||
j+=2;
|
||||
found = 1;
|
||||
end = wcsstr( &prompt[j], L"\x1b\\" );
|
||||
|
|
Loading…
Reference in a new issue