Lorenz Hübschle
Lorenz Hübschle
the last two commits look good, but what's up with the old stuff that got mixed up in here?
is there any interest in reviving this?
See also #844 / #845. Would be cool to parse the weechat setting, though.
FWIW, it doesn't seem to distinguish between Enter and Return. I'm out of ideas.
Were you able to find out more about this, @timo? I think last we talked about this you mentioned defining an alias for the command sequence, which I guess is...
What's your WeeChat version? This shouldn't happen with recent WeeChat.
See https://github.com/glowing-bear/glowing-bear/blob/eaffb17c5a24454d90df384915a692d87539e6eb/js/glowingbear.js#L487 It shouldn't switch channels at all, but requires WeeChat 1.2 or later to prevent the switching for queries
Of course if you manually `/join` or `/query`, we don't rewrite your commands. Use `/join -noswitch` to prevent WeeChat from switching. You also don't need to connect to the screen...
Technically it would be possible to rewrite commands in https://github.com/glowing-bear/glowing-bear/blob/92d707a51d92adcfc099e36ece8b711e1454f97f/js/inputbar.js#L121 but doing so silently is something I would be *very* uncomfortable with. Maybe we could add a prompt the first...