Skip to content
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

Suppress garbled output of dynamic-colors init in termite terminal #24

Open
varac opened this issue Jun 20, 2018 · 4 comments
Open

Suppress garbled output of dynamic-colors init in termite terminal #24

varac opened this issue Jun 20, 2018 · 4 comments

Comments

@varac
Copy link

varac commented Jun 20, 2018

Except for #23, dynamic-colors works for, thanks for it !

But dynamic-colors init gives me an garbled output like this:

» dynamic-colors init 
�]708;#fdf6e3%

It's easy to work around using dynamic-colors init > /dev/null but it would still be good to fix it.

@varac
Copy link
Author

varac commented Jun 20, 2018

btw, this is using the termite terminal. On xterm or urxvt it works fine.

@varac
Copy link
Author

varac commented Jun 20, 2018

The compability check works fine in my termite terminal btw.

@varac
Copy link
Author

varac commented Jun 20, 2018

Ugh, just realized that all outputs are garbled in termite:

» dynamic-colors switch solarized-light
�]708;#fdf6e3%   

@varac varac changed the title Suppress garbled output of dynamic-colors init Suppress garbled output of dynamic-colors init in termite terminal Jun 20, 2018
@jbohren
Copy link

jbohren commented May 2, 2019

@varac
You can just comment out the "border" case statement in dynamic-colors. It looks like escape code 708 isn't supported by some terminals (such as xfce4-terminal).

diff --git a/bin/dynamic-colors b/bin/dynamic-colors
index f40c6ec..d2cc992 100755
--- a/bin/dynamic-colors
+++ b/bin/dynamic-colors
@@ -80,8 +80,8 @@ change_color_osc () {
       send_osc 14 "$2" ;;
     highlight)
       send_osc 17 "$2" ;;
-    border)
-      send_osc 708 "$2" ;;
+    #border)
+      #send_osc 708 "$2" ;;
   esac
 }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants