You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One of less option is that it can disable sending the termcap initialization and deinitialization using -X option (less -X somefile.txt). This option prints less output even after quitting. Right now, bat display output in this behavior even when displaying output with pager. Is there any way for bat to enable the termcap initialization when displaying output, so that I could have the less behavior without -X option?
PS: I know that this is a cat clone, not less clone, and this is a feature of less. But I personally think that bat is more than both, and can be used as replacement for both utility. CMIIW and feel free to close this issue if it is not applicable.
The text was updated successfully, but these errors were encountered:
One of less option is that it can disable sending the termcap initialization and deinitialization using -X option (less -X somefile.txt). This option prints less output even after quitting. Right now, bat display output in this behavior even when displaying output with pager.
Yes. bat actually uses less behind the scenes and it calls less with the -X option by default, unless you instruct it to do otherwise.
Is there any way for bat to enable the termcap initialization when displaying output, so that I could have the less behavior without -X option?
One of less option is that it can disable sending the termcap initialization and deinitialization using
-X
option (less -X somefile.txt). This option prints less output even after quitting. Right now, bat display output in this behavior even when displaying output with pager. Is there any way for bat to enable the termcap initialization when displaying output, so that I could have the less behavior without-X
option?PS: I know that this is a
cat
clone, notless
clone, and this is a feature ofless
. But I personally think thatbat
is more than both, and can be used as replacement for both utility. CMIIW and feel free to close this issue if it is not applicable.The text was updated successfully, but these errors were encountered: