From 546ebc391d621b4cabd4e521d47a38cf3140b43b Mon Sep 17 00:00:00 2001 From: theincognito-inc Date: Sat, 25 Dec 2021 18:40:38 +0530 Subject: [PATCH] Change TWRP nano TERM env variable from pcansi to bg1.25 pcansi TERM has always had some display and/or scrolling (up, down, left or right) issues in nano on TWRP's embedded Terminal. Most frequently seen is misaligned/displaced text on long lines and files, either initially or once scrolled through. bg1.25 seems to be the most compatible TERM for all devices currently. Change-Id: If00a8352ca3576085f69c12dffb5b21637c7b21c --- etc/init/nano.rc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/init/nano.rc b/etc/init/nano.rc index f57f6564..daf82156 100644 --- a/etc/init/nano.rc +++ b/etc/init/nano.rc @@ -1,3 +1,3 @@ on fs export TERMINFO /system/etc/terminfo - export TERM pcansi + export TERM bg1.25