taskWeeChat - Tasks: task #11316, Support terminal "Bracketed...


task #11316: Support terminal "Bracketed Paste Mode"

Submitter:  Christopher O'Neill <deltafire>
Submitted:  Sat 03 Sep 2011 10:36:32 AM UTC
Category:  display Should Start On:  Sat 03 Sep 2011 12:00:00 AM UTC
Should be Finished on:  Sat 03 Sep 2011 12:00:00 AM UTC Priority:  * 5 - Normal
Status:  Done Privacy:  Public
Assigned to:  flashcode Percent Complete:  100%
Originator Name:  Open/Closed:  Closed
Planned Release:  0.3.8 IRC nick: 
* Mandatory Fields

Add a New Comment Rich Markup

Fri 09 Mar 2012 09:50:06 AM UTC, comment #4: 
Sebastien Helleu <flashcode>
Group administrator
Sun 04 Mar 2012 10:38:54 AM UTC, comment #3: 

Option renamed to weechat.look.paste_bracketed

Sebastien Helleu <flashcode>
Group administrator
Sun 04 Mar 2012 09:36:25 AM UTC, comment #2: 


New option: "weechat.look.bracketed_paste_mode" (off by default).

Changes on option "weechat.look.paste_max_lines": now -1 is used to disable option. With value 0 (in bracketed paste mode), WeeChat will ask confirmation for any paste (even some chars without newline).

According to my tests the "bracketed paste mode" works with:
- rxvt-unicode terminal
- xterm terminal
- screen multiplexer

According to my tests it currently does not work with:
- putty* like (planned, I saw a commit recently)
- tmux (planned, commited to cvs)

Sebastien Helleu <flashcode>
Group administrator
Sun 04 Sep 2011 08:00:03 AM UTC, comment #1: 

Update: Bracketed paste mode was added to iTerm2 today (4th September 2011).


Christopher O'Neill <deltafire>
Sat 03 Sep 2011 10:36:32 AM UTC, original submission:  

This allows the terminal emulator to inform the application that the user is pasting text into the terminal window.  It has been supported by xterm for a long time, and is now also supported by OSX Terminal since OSX Lion.  Details here:


Christopher O'Neill <deltafire>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by flashcode (Posted a comment)
  • -email is unavailable- added by deltafire (Submitted the item)

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.


    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2012-06-03 flashcode Open/ClosedOpen Closed
    2012-03-04 flashcode StatusNone Done
        Percent Complete0% 100%
        Assigned toNone flashcode
        Planned ReleaseNone 0.3.8

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code