weechat-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Weechat-dev] [bug #37427] leading whitespaces stripped from script comm


From: R1cochet
Subject: [Weechat-dev] [bug #37427] leading whitespaces stripped from script commands
Date: Sun, 23 Sep 2012 12:39:44 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.1 (KHTML, like Gecko) Chrome/21.0.1180.89 Safari/537.1

URL:
  <http://savannah.nongnu.org/bugs/?37427>

                 Summary: leading whitespaces stripped from script commands
                 Project: WeeChat
            Submitted by: r1cochet
            Submitted on: Sun 23 Sep 2012 12:39:43 PM GMT
                Category: scripts
                Severity: 3 - Normal
              Item Group: irc protocol
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 0.3.9-dev
                IRC nick: R1cochet

    _______________________________________________________

Details:

When sending a command from inside a script the leading whitespaces are
stripped.

ex: $text = "    Hello World!";
    weechat::command($buffer, "/msg $nick $text");

expected output:
   <Nick>     Hello World!

gives:
   <Nick> Hello World!




    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?37427>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]