gst-inspect: Tell `less` to parse color codes
authorZeeshan Ali <zeenix@collabora.co.uk>
Sat, 24 Nov 2018 11:06:38 +0000 (12:06 +0100)
committerZeeshan Ali <zeenix@collabora.co.uk>
Sat, 24 Nov 2018 11:06:38 +0000 (12:06 +0100)
This change was originally part of 2cf16838c54 (gst-inspect: Colored
output) but got lost during the recent rebase.

tools/gst-inspect.c

index e603ca5..230aa19 100644 (file)
@@ -41,7 +41,7 @@
 #   include <sys/wait.h>
 #endif
 
-#define DEFAULT_PAGER "less -F -X"
+#define DEFAULT_PAGER "less -F -X -R"
 
 gboolean colored_output = TRUE;