-
Notifications
You must be signed in to change notification settings - Fork 107
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix format seperator #343
Fix format seperator #343
Conversation
@jagguli Thank you! |
@jagguli If you want a smoother rebase, you can do |
@jagguli Sorry for the delay! You are welcome to do another rebase Also does this have a dedicated bug issue documenting what the problem is? (This is a pretty systemic change!) |
libtmux/formats.py
Outdated
@@ -7,6 +7,11 @@ | |||
|
|||
""" | |||
|
|||
from __future__ import absolute_import, unicode_literals, with_statement |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's safe to remove this line
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#354 is on deck and may cause conflicts. Would like to get this in first if possible. Some minor comments made
Codecov Report
@@ Coverage Diff @@
## master #343 +/- ##
=======================================
Coverage 87.80% 87.81%
=======================================
Files 15 15
Lines 1509 1510 +1
=======================================
+ Hits 1325 1326 +1
Misses 184 184
Continue to review full report at Codecov.
|
a077881
to
9c1fe18
Compare
9c1fe18
to
9f67200
Compare
- for some reason on my arch install tmux does not print back tabs I'm not sure if it affects other but just puttin this out there
9f67200
to
9411cc1
Compare
@@ -6,6 +6,9 @@ | |||
For reference: https://github.com/tmux/tmux/blob/master/format.c | |||
|
|||
""" | |||
import os | |||
|
|||
FORMAT_SEPERATOR = os.environ.get("TMUX_SEPERATOR", "|") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Astonishingly, despite "seperator" being used everywhere (and it feels right to me) apparently its separator
I will make a change for that and also give it a namespaced env name LIBTMUX_TMUX_FORMAT_SEPARATOR
to avoid any ambiguity
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
P.S. I opened #355 to discuss a default formatting string
Introduced initially via #343 as TMUX_SEPERATOR but later renamed to LIBTMUX_TMUX_FORMAT_SEPARATOR.
Introduced initially via #343 as TMUX_SEPERATOR but later renamed to LIBTMUX_TMUX_FORMAT_SEPARATOR.
@jagguli This is now released on 0.11.0b0 for testing: pypi, git branch The separator is configurable via |
@jagguli Similar to the other PR, my bad for now staying on top of the pull request. I apologize for keeping it in a holding pattern so long Shoot me an email next time you make a PR so it doesn't repeat itself. I am overwhelmed with notifications on GH |
Rebase of
#305