mirror of
https://github.com/ggozad/oterm.git
synced 2026-10-29 09:31:23 +01:00
Copy was mouse-only via ChatItem.on_click. Extract that into ChatItem.copy and reach it from a ChatContainer action, so it is reachable from the keyboard, remappable via the keymap config, and listed in the command palette. The action reads the last ChatItem rather than messages[-1]: messages is only appended once a response has finished streaming, so a keypress mid-stream would otherwise copy the previous message. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| test_caps.py | ||
| test_chat_container.py | ||
| test_flexible_input.py | ||
| test_image_widget.py | ||
| test_model_select.py | ||
| test_prompt_history.py | ||
| test_tool_select.py | ||