From anonymous, 6 Years ago, written in Plain Text.
Embed
  1. Frame selections:
  2. ----------------------------
  3.  
  4. Either have a new command, or augment an existing one, which ever is easier.  But allow for a frame's region to be selected -- either its top, right, bottom, or left side and for that selection to mark an action to be performed next time round -- be it 'split' or 'spawn', etc.
  5.  
  6. So for example, if you have this:
  7.  
  8. +--------------+
  9. |                |
  10. |  Frame 1 |
  11. +--------------+
  12.  
  13. And you selected the top region, then you would get this:
  14.  
  15.  ---------------------
  16.  |+--------------+ |
  17.  ||                |  |
  18.  |  Frame 1  |
  19.  +---------------+
  20.  
  21. The top portion of the frame has been selected -- this could be nothing more than a border colour change.  Note that the amount of selection for the frame here depends on a ratio setting (such as what 'split' allows for at the moment, so if 0.5 were used, then half of the top frame would be colored).
  22.  
  23. With that selection the next time round, that area would then be used.  If it were to 'spawn xterm' the following would happen:
  24.  
  25. +----------------+
  26. |                  |
  27. |      Xterm   |
  28. +-----------------+
  29. |                    |
  30. |   Frame 1    |
  31. +------------------+
  32.  
  33. Repeat for other sides of the frame.