mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 05:13:10 +00:00
149594f974
darcs-hash:20050920132639-ac50b-fa3b476891e1f5f67207cf4cc7bf623834cc5edc.gz
31 lines
512 B
C
31 lines
512 B
C
/** \file kill.h
|
|
Prototypes for the killring.
|
|
|
|
Works like the killring in emacs and readline. The killring is cut and paste whith a memory of previous cuts.
|
|
*/
|
|
|
|
/**
|
|
Add a string to the top of the killring
|
|
*/
|
|
void kill_add( wchar_t *str );
|
|
/**
|
|
Rotate the killring
|
|
*/
|
|
wchar_t *kill_yank_rotate();
|
|
/**
|
|
Paste from the killring
|
|
*/
|
|
wchar_t *kill_yank();
|
|
/**
|
|
Sanity check
|
|
*/
|
|
void kill_sanity_check();
|
|
/**
|
|
Initialize the killring
|
|
*/
|
|
void kill_init();
|
|
/**
|
|
Destroy the killring
|
|
*/
|
|
void kill_destroy();
|
|
|