Fit chat terminals to their output, keep pastes and keys in the terminal
Finished terminals are sized synchronously from their rows at the view's width (the post-frame fit made the transcript re-anchor forever); blank rows xterm.dart keeps when rewrapping are dropped; desktop typing uses key events; the composer leaves Cmd/Ctrl-V to a focused terminal; Ctrl-A reaches the process. The probe fixture gains coloured terminal runs and an interactive login. Notes record behaviour, protocol, security and verification.
This commit is contained in:
@@ -217,10 +217,16 @@ class _ChatShellTerminalKeysState extends State<ChatShellTerminalKeys> {
|
||||
);
|
||||
}
|
||||
if (material == null) {
|
||||
return OutlinedButton(key: key, onPressed: onPressed, child: Text(label));
|
||||
return OutlinedButton(
|
||||
key: key,
|
||||
style: OutlinedButton.styleFrom(visualDensity: VisualDensity.compact),
|
||||
onPressed: onPressed,
|
||||
child: Text(label),
|
||||
);
|
||||
}
|
||||
return IconButton.outlined(
|
||||
key: key,
|
||||
visualDensity: VisualDensity.compact,
|
||||
tooltip: label,
|
||||
onPressed: onPressed,
|
||||
icon: Icon(material),
|
||||
|
||||
Reference in New Issue
Block a user