remove unused vis_message_hide() function
the message window gets closed like a normal window and nothing calls
this function. In fact, it wasn't even used when it was added 8 years
ago in 979ab79.
fix use after free in cmd_files()
When the cmd closes the window the window pointer gets freed along the
way. We can't use win->next to update the loop variable if sam_execute()
has been called. Instead we can store win->next early and use that
variable to continue the loop.
vis-clipboard: make xsel honor --selection
ci: fix authentication by using GITHUB_TOKEN
Fix luadoc to use ~= for status
vis.1: list equivalent key bindings on the same line
it is hard to tell which line <C-u> and <C-d> are supposed to belong to
in the current version.
build: update alpine in docker build to version 3.18
Just a version bump, no changes required.
vis-complete: Fix commandline options handling
check for EOF before unsetting row, col & line cache in view_coord_get
This commit fixes c22b2c2, which introduced a bug when the EOF was
build: update alpine in docker build to version 3.17
This requires one extra package, as static liblzma (liblzma.a) was
moved to xz-static.
vis: remove unused Arg union member
This was missed when pairwise selection combinators were removed in
don't set _FORTIFY_SOURCE in configure
distributions that want this flag set do so on a system wide level. for
example Gentoo, Fedora, Debian, and OpenSUSE.
since vis sets it when invoking cc via make it overwrites the system
setting (and pollutes the output with redefinition warnings).
For reference here is the related bug in Gentoo:
fix bug where visual-line selections after view were considered visible
prior to this patch, if you had a visual-line selection after the view,
and try to move it(& all other selections) up into the buffer, the
selection would appear prematurely.
vis-open: further improvement & clean-up
Do tilde expansion only for the tilde character at the beginning of the pattern.