The terminal emulator I use (st) doesn't provide a search function. This is supposed to be provided by a separate tool, for example a terminal multiplexer. And when somebody uses a terminal multiplexer, this makes sense, because the terminal emulator can't know which terminal/window/pane is to be searched.
Even when I use a terminal emulator that supports searching the terminal (Alacritty), its search function can't find text in an a4 buffer that's out of the current viewport.
I couldn't find a search function in a4. Does it exist? If not, do you plan to add it? If you don't want to add it: Is there another way to search the terminal?
I'm aware that I could pipe a command output to less and then use its search function but often I don't know beforehand that I'm going to search something and running the same command again with less is often overkill (like for a long running build process).
Another solution could be to allow opening a terminal buffer in the an editor (p.e. $EDITOR), like capture-pane + save-buffer in tmux. What do you think?
Access to the terminal window buffers is on the list to be implemented next. Haven't settled on the implementation yet. Likely will use $EDITOR and be configurable in a4.ini file.
The terminal emulator I use (st) doesn't provide a search function. This is supposed to be provided by a separate tool, for example a terminal multiplexer. And when somebody uses a terminal multiplexer, this makes sense, because the terminal emulator can't know which terminal/window/pane is to be searched.
Even when I use a terminal emulator that supports searching the terminal (Alacritty), its search function can't find text in an
a4
buffer that's out of the current viewport.I couldn't find a search function in
a4
. Does it exist? If not, do you plan to add it? If you don't want to add it: Is there another way to search the terminal?I'm aware that I could pipe a command output to
less
and then use its search function but often I don't know beforehand that I'm going to search something and running the same command again withless
is often overkill (like for a long running build process).Another solution could be to allow opening a terminal buffer in the an editor (p.e.
$EDITOR
), likecapture-pane
+save-buffer
in tmux. What do you think?