diff --git a/README.md b/README.md index 4ab9af4b..76ae9650 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ -[![Build Status](https://travis-ci.org/tstack/lnav.png)](https://travis-ci.org/tstack/lnav) -[![Build status](https://ci.appveyor.com/api/projects/status/24wskehb7j7a65ro?svg=true)](https://ci.appveyor.com/project/tstack/lnav) +![Build](https://github.com/tstack/lnav/workflows/build/badge.svg) +[![Coverage Status](https://coveralls.io/repos/github/tstack/lnav/badge.svg?branch=master)](https://coveralls.io/github/tstack/lnav?branch=master) [![lnav](https://snapcraft.io//lnav/badge.svg)](https://snapcraft.io/lnav) [![LoC](https://tokei.rs/b1/github/tstack/lnav)](https://github.com/tstack/lnav). diff --git a/src/base/README.md b/src/base/README.md new file mode 100644 index 00000000..7292a3ee --- /dev/null +++ b/src/base/README.md @@ -0,0 +1,3 @@ + +# libbase -- Library of utility functions + diff --git a/src/term_extra.hh b/src/term_extra.hh index 8eb498c0..3ff75888 100644 --- a/src/term_extra.hh +++ b/src/term_extra.hh @@ -80,7 +80,7 @@ public: line_attr = find_string_attr(sa, &logline::L_FILE); if (line_attr != sa.end()) { logfile *lf = (logfile *)line_attr->sa_value.sav_ptr; - const std::string &filename = lf->get_filename(); + const std::string &filename = lf->get_unique_path(); if (filename != this->te_last_title) { std::string title = this->te_prefix + filename; diff --git a/src/themes/README.md b/src/themes/README.md new file mode 100644 index 00000000..7a6a81fe --- /dev/null +++ b/src/themes/README.md @@ -0,0 +1,5 @@ + +# Themes + +This directory contains the built-in theme definitions. The files are +turned into C using `bin2c` and compiled into the executable. diff --git a/test/test_tui.sh b/test/test_tui.sh index 56386b33..7fb372c3 100644 --- a/test/test_tui.sh +++ b/test/test_tui.sh @@ -19,7 +19,7 @@ for fn in ${srcdir}/tui-captures/*; do esac done -run_test ./scripty -e ${srcdir}/xpath_tui.0 -- \ +run_test ./scripty -n -e ${srcdir}/xpath_tui.0 -- \ ${lnav_test} -I ${test_dir} \ -c ':goto 2' \ ${srcdir}/logfile_xml_msg.0 diff --git a/test/xpath_tui.0 b/test/xpath_tui.0 index 76f18322..0dddedd9 100644 --- a/test/xpath_tui.0 +++ b/test/xpath_tui.0 @@ -129,7 +129,7 @@ A ·························└ fg(#c0c0c0), bg(#c0 A ····························└ carriage-return S 22 ┋ ┋ A └ normal, normal -OSC Set window title: /Users/stackt/github/lnav/test/logfile_xml_msg.0 +OSC Set window title: logfile_xml_msg.0 S 1 ┋ logfile_xml_msg.0 ┋ A ·······························└ fg(#c0c0c0), bg(#008080) S 1 ┋ xml_msg_log ┋