Copy and paste: the desktop's universal copy key works; Ctrl+C at the terminal login keeps the terminal
Omarchy's Super+C sends Ctrl+C by setting the modifier state with no Ctrl key event while Super is held. Flutter's web engine only presses a modifier on its own key event, so the app saw a plain "c": the chat selection was not copied and the terminal typed the letter. A key modifier sync in front of the framework's key handler now presses the modifiers the browser event's flags hold (and outside Apple platforms lets go of a held Meta for Ctrl+C/V/X/A/ Insert), installed by the app's binding. The terminal copies a selection on Ctrl+C without sending ^C, treats the injected copy key as copy only, and pastes on Shift+Insert. A refused clipboard write or read now shows a message instead of failing silently. Server: before the login completes, Ctrl+C and Ctrl+\ erase the typed password (Ctrl+U) and Ctrl+Z is dropped, so su is not killed and the terminal no longer ends. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import 'package:pipelines_app/application/pipelines_binding.dart';
|
||||
import 'package:pipelines_app/core/servers/chat/chat_server_pool.dart';
|
||||
import 'package:pipelines_app/core/servers/machine_access.dart';
|
||||
import 'package:pipelines_app/core/servers/server_catalog.dart';
|
||||
@@ -197,6 +198,7 @@ void _installUiReviewChats() {
|
||||
'closed_at': null,
|
||||
};
|
||||
}
|
||||
|
||||
const List<String> _turnFileNames = [
|
||||
'input.md',
|
||||
'memory.md',
|
||||
@@ -901,7 +903,7 @@ class _FixtureSink implements WebSocketSink {
|
||||
///
|
||||
/// app/tool/capture/ drives this entry generically; see its README.
|
||||
Future<void> main() async {
|
||||
WidgetsFlutterBinding.ensureInitialized();
|
||||
PipelinesBinding.ensureInitialized();
|
||||
await Future.wait([
|
||||
QuickSwitchAnimationController.instance.restore(),
|
||||
AnimationSpeedController.instance.restore(),
|
||||
|
||||
Reference in New Issue
Block a user