diff --git a/src/Entity/Window/Tab/Address.php b/src/Entity/Window/Tab/Address.php index b5711adc..7f625bfc 100644 --- a/src/Entity/Window/Tab/Address.php +++ b/src/Entity/Window/Tab/Address.php @@ -254,16 +254,23 @@ class Address $this->navbar->request->gtk->set_text( $address->get() ); - - $this->update(); } // Search request else { - // @TODO + $this->navbar->request->gtk->set_text( + sprintf( + 'gemini://tlgs.one/search?%s', // @TODO custom provider + urlencode( + $this->navbar->request->gtk->get_text() + ) + ) + ); } + $this->update(); + return; default: