some docs and test fixup

This commit is contained in:
Timothy Stack 2021-02-06 23:08:01 -08:00
parent 351ad7a8fc
commit a4368223ea
6 changed files with 13 additions and 5 deletions

View File

@ -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).

3
src/base/README.md Normal file
View File

@ -0,0 +1,3 @@
# libbase -- Library of utility functions

View File

@ -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;

5
src/themes/README.md Normal file
View File

@ -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.

View File

@ -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

View File

@ -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 ┋