patchGNUstep Application Project - Patches: patch #8982, [Terminal] Add tabs support

 
 

You are not allowed to post comments on this tracker with your current authentication level.

patch #8982: [Terminal] Add tabs support

Submitter:  Tim Sheridan <tghs>
Submitted:  Fri 15 Apr 2016 11:34:08 PM UTC
   
 
Category:  None Priority:  5 - Normal
Status:  Done Privacy:  Public
Assigned to:  rmottola Open/Closed:  Closed

Fri 15 Apr 2016 11:42:16 PM UTC, comment #1: 

Oh, and forgot to mention this additional feature:

  • Show the tab bar with a singleton tab in a window with #T
Tim Sheridan <tghs>
Fri 15 Apr 2016 11:34:08 PM UTC, original submission:  

The attached patch adds tabs to Terminal.app while keeping traditional behavior unchanged for those that don't use the feature. The keyboard shortcuts mostly match Mac OS X's Terminal.app. Here's what it introduces:

  • Create new tabs with #t.
  • Close tabs with #w (if only one tab is open, close the window -- #W closes all of the tabs in the current window).
  • Switch between tabs using #{ and #}.
  • Rearrange tabs with #( and #). OS X doesn't have this feature AFAIK because you can rearrange using drag and drop, rather than with a keyboard shortcut. NSTabView doesn't support drag and drop reordering -- maybe we can support it neatly as an extension in GSTabView or something?


Note: I've only done Objective C with ARC before, so this patch might well have memory management mistakes! No memory leaks were observed during testing though. I'm happy to rework/split up the patch if needed so that this feature can arrive for others. :-)

Tim Sheridan <tghs>

 

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

Attached Files
file #36946:  0001-Terminal-Add-tabs-support.patch added by tghs (17KiB - text/x-patch - Patch v1)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by rmottola (Updated the item)
  • -email is unavailable- added by tghs (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.

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-06-13 rmottola StatusIn Progress Done
        Open/ClosedOpen Closed
    2016-05-19 rmottola StatusNone In Progress
        Assigned toNone rmottola
    2016-04-15 tghs Attached File- Added 0001-Terminal-Add-tabs-support.patch, #36946

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code