| 715 | } |
| 716 | |
| 717 | void View::onCopyPressed() { |
| 718 | std::string path = state->getSelectedChildPath(); |
| 719 | state->setClipboard(path, false); |
| 720 | LOGGER.info("Copied to clipboard: {}", path); |
| 721 | onNavigate(); |
| 722 | update(); |
| 723 | } |
| 724 | |
| 725 | void View::onCutPressed() { |
| 726 | std::string path = state->getSelectedChildPath(); |
no test coverage detected