fish-shell/src/kill.h
Johannes Altmanninger 6ede7f8009 Delete wcstring_list_t
We don't want it in Rust. Remove it to smoothen the transition.
2023-04-19 01:03:16 +02:00

26 lines
600 B
C++

// Prototypes for the killring.
//
// Works like the killring in emacs and readline. The killring is cut and paste with a memory of
// previous cuts.
#ifndef FISH_KILL_H
#define FISH_KILL_H
#include "common.h"
/// Replace the specified string in the killring.
void kill_replace(const wcstring &old, const wcstring &newv);
/// Add a string to the top of the killring.
void kill_add(wcstring str);
/// Rotate the killring.
wcstring kill_yank_rotate();
/// Paste from the killring.
wcstring kill_yank();
/// Get copy of kill ring as vector of strings
std::vector<wcstring> kill_entries();
#endif