mirror of
https://github.com/davatorium/rofi.git
synced 2024-11-11 13:50:48 -05:00
Support _ in ssh hostname
This commit is contained in:
parent
4efeb421f2
commit
8b6b494830
1 changed files with 1 additions and 1 deletions
|
@ -176,7 +176,7 @@ static char ** get_ssh ( )
|
||||||
|
|
||||||
for ( start=4; isspace( buffer[start] ); start++ );
|
for ( start=4; isspace( buffer[start] ); start++ );
|
||||||
|
|
||||||
for ( stop=start; isalnum( buffer[stop] ); stop++ );
|
for ( stop=start; isalnum( buffer[stop] ) || buffer[stop] == '_' ; stop++ );
|
||||||
|
|
||||||
int found = 0;
|
int found = 0;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue