Skip to content

Commit

Permalink
pathfinder: show current values if mark exists in both databases whil…
Browse files Browse the repository at this point in the history
…e unmarking
  • Loading branch information
XPhyro committed Aug 18, 2024
1 parent c0929e7 commit 9a23661
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/cpp/project/pathfinder/src/cmd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,11 @@ PAF_CMD_NORETURN void paf::unmark::execute(const lyra::group& group)
bool remove_dir = true;
bool remove_file = true;
if (dir_idx && file_idx) {
std::cout << "Keycode exists in both directory & file databases. "
std::cout << "Keycode [" << m_identifier
<< "] exists in both directory & file databases as ["
<< *dir_db.try_get_mark_at(*dir_idx) << "] & ["
<< *file_db.try_get_mark_at(*file_idx)
<< "]. "
"Unmark which one? [b/d/f] ";

std::string answer;
Expand Down

0 comments on commit 9a23661

Please sign in to comment.