mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-07 10:01:14 -03:00
Modified screen.cpp to compile on Linux.
This commit is contained in:
@@ -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\\" );
|
||||
|
||||
Reference in New Issue
Block a user