mirror of
https://github.com/ggozad/oterm.git
synced 2026-10-31 02:11:25 +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_oterm_app.py | ||