Hi I don't really see a lot of point in adding padding so I'm not sure it is likely I would accept such a change. I think it would be more useful to remove the borders which would require some of the same changes, but doing this too would be much more difficult.
Adding padding would be a bit easier because you are not changing the layout of the window, just skipping cells around the panes. It might be enough just to make sure each pane's xoff, yoff, sx and sy are adjusted when they are set, I think it is in layout.c perhaps but I'm not at home so I can't check. You may also need some changes to screen-redraw.c to make sure the padding cells are cleared. On Fri, 7 Dec 2018, 15:16 Fang <[email protected] wrote: > Unless I'm missing something, tmux currently doesn't support configuring > internal padding of panes. ie rendering pane contents one (or more) > characters away from the pane borders. > > I might want to put that it myself. How doable would that be as a > first-time contribution? > > I browsed through the codebase and there's a number of places that look > like candidates for this change, but I'm guessing the screen*.c files are > what I want to be looking at? If anyone has thought about this before and > has insights or pointers to share, those would be much appreciated. > > ~ Fang > > -- > You received this message because you are subscribed to the Google Groups > "tmux-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send an email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "tmux-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
