New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ope new URL from the command line #3388
Comments
@Vonfry your goal is to open a new window, not to start a new Nyxt process. From a Nyxt window, you can interactively call the command |
André A. Gomes ***@***.***> writes:
@Vonfry your goal is to open a new window, not to start a new Nyxt
process.
Right, my goal is not to start a new Nyxt process, but is also not to
open a new window.
Like firefox, chromium and qutebrowser, you can open a url in the
current existing window in a new tab from cli with xdg-open easily,
which is used by other applications to open a url with external application.
When there is no existing nyxt process, use ~nyxt <url>~ can open a nyxt
process and window with that url.
However, when there is an existing nyxt process, ~nyxt <url>~ will make
the existing nyxt process *throw an error* "Error on separate thread:
(UNSIGNED-BYTE 8) is not a valid :ELEMENT-TYPE for MAKE-STRING".
I think the behaviour is not rational.
At least, it should be open a new process right? Or open the url in the
existing process in a new window or a new buffer in existing window?
|
@Vonfry, that sounds reasonable to me indeed. However, in the current architecture (in which I didn't participate), Nyxt starts as a server by default. I don't consider it a sane default. In the near term, it is unlikely to change since it would require a major version bump. In the meantime, I have found out is that the recipe I've shared above doesn't work anymore. I need to investigate. |
Right, the some error "Error on separate thread: (UNSIGNED-BYTE 8) is not a valid :ELEMENT-TYPE for MAKE-STRING" for me is thrown with Perhaps this issue is the one I want to really report. |
Describe the bug
After creating a nyxt thread, a new url cannot be opened with the existing thread out of nyxt.
Precise recipe to reproduce the issue
nyxt <some url>
Information
show-system-information
:Output when started from a shell
The new nyxt command outputs:
list-messages
in old nyxt thread appends:WARN - Warning: Error on separate thread: (UNSIGNED-BYTE 8) is not a valid :ELEMENT-TYPE for MAKE-STRING
The text was updated successfully, but these errors were encountered: