v1.2.8: remove $ prompt from input bar

This commit is contained in:
茂之钳
2026-05-24 23:31:28 +00:00
parent 69f51e5fd8
commit f12efdbb08
@@ -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 {