Software /
code /
prosody
Diff
util/prosodyctl/shell.lua @ 13052:585bd71a1a97
util.prosodyctl.shell: Fix sending terminal width with single argument
E.g. when you do 'prosodyctl shell "s2s:show()"', this is the case that
triggers, and it was missing the @width argument, causing confusion.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 07 Apr 2023 13:58:39 +0200 |
parent | 13050:4ae759490e31 |
child | 13396:16413bc29361 |
line wrap: on
line diff
--- a/util/prosodyctl/shell.lua Fri Apr 07 13:54:16 2023 +0200 +++ b/util/prosodyctl/shell.lua Fri Apr 07 13:58:39 2023 +0200 @@ -85,7 +85,7 @@ end client.events.add_handler("connected", function() - client.send(st.stanza("repl-input"):text(arg[1])); + send_line(client, arg[1]); return true; end, 1);