OSDN Git Service
(root)
/
android-x86
/
external-mksh.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5961cea
)
mkshrc: Only apply the resize to adb shells
author
Ricardo Cerqueira
<ricardo@cyngn.com>
Sun, 4 Jan 2015 02:31:49 +0000
(
02:31
+0000)
committer
Steve Kondik
<steve@cyngn.com>
Wed, 24 Aug 2016 20:24:24 +0000
(13:24 -0700)
This resize is messing with apps that do their own resizes, so apply
it only for ADB shells
Change-Id: I5b0e4bc2c2546809d829e84ac0291405c51da016
mkshrc
patch
|
blob
|
history
diff --git
a/mkshrc
b/mkshrc
index
f88abe7
..
2d6c003
100644
(file)
--- a/
mkshrc
+++ b/
mkshrc
@@
-20,4
+20,6
@@
PS4='[$EPOCHREALTIME] '; PS1='${|
return $e
}$HOSTNAME:${PWD:-?} '"$PS1 "
-resize
+if [ "z$ANDROID_SOCKET_adbd" != "z" ]; then
+ resize
+fi