File: kill.h

package info (click to toggle)
fish 1.23.0-5
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 6,416 kB
  • ctags: 2,503
  • sloc: ansic: 35,998; sh: 2,818; makefile: 566
file content (43 lines) | stat: -rw-r--r-- 686 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
/** \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.
*/

#ifndef FISH_KILL_H
#define FISH_KILL_H

#include <wchar.h>

/**
   Replace the specified string in the killring
*/
void kill_replace( wchar_t *old, wchar_t *new );


/**
   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();

#endif