gopher: make default selector the menu.
parent
ac9c983c93
commit
979b3b6ab1
|
@ -93,8 +93,8 @@ ERROR: not-a-gopher-url url ;
|
|||
dup protocol>> "gopher" = [ not-a-gopher-url ] unless {
|
||||
[ host>> ]
|
||||
[ port>> 70 or <inet> binary ]
|
||||
[ path>> rest ]
|
||||
[ query>> assoc>query url-decode "?" glue ]
|
||||
[ path>> rest [ "1/" ] when-empty ]
|
||||
[ query>> [ assoc>query url-decode "?" glue ] when* ]
|
||||
} cleave '[ _ get-selector ] with-client ;
|
||||
|
||||
: gopher. ( url -- )
|
||||
|
|
Loading…
Reference in New Issue