v1.2.8: remove $ prompt from input bar
This commit is contained in:
@@ -512,12 +512,7 @@ fun SshTerminalScreen(
|
||||
.padding(horizontal = 8.dp),
|
||||
verticalAlignment = Alignment.CenterVertically
|
||||
) {
|
||||
Text(
|
||||
text = if (state.connected) "\$ " else "",
|
||||
color = accent,
|
||||
fontSize = 13.sp,
|
||||
fontFamily = FontFamily.Monospace
|
||||
)
|
||||
// $ 提示符已移除——终端输出本身就是带提示符的
|
||||
AndroidView(
|
||||
factory = { ctx ->
|
||||
EditText(ctx).apply {
|
||||
|
||||
Reference in New Issue
Block a user