diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2014-09-04 22:22:39 +0200 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2014-09-04 22:22:39 +0200 |
| commit | 33812921a2294637e4635d5b8426fc47f69a05a5 (patch) | |
| tree | fea0b77a032b80b0211fb9a7110ee01ef2aa3955 /main.c | |
| parent | 3bfd0792b7116eacd5f9c46070b6fee236d4b956 (diff) | |
| download | vis-33812921a2294637e4635d5b8426fc47f69a05a5.tar.gz vis-33812921a2294637e4635d5b8426fc47f69a05a5.tar.xz | |
Implement movement to a given line
Diffstat (limited to 'main.c')
| -rw-r--r-- | main.c | 10 |
1 files changed, 0 insertions, 10 deletions
@@ -21,8 +21,6 @@ int ESCDELAY; static Key getkey(void); static void cursor(const Arg *arg); static void call(const Arg *arg); -static void insert(const Arg *arg); -static void line(const Arg *arg); static void find_forward(const Arg *arg); static void find_backward(const Arg *arg); @@ -38,10 +36,6 @@ static void call(const Arg *arg) { arg->f(vis); } -static void line(const Arg *arg) { - vis_line_goto(vis, arg->i); -} - static void find_forward(const Arg *arg) { vis_search(vis, arg->s, 1); } @@ -50,10 +44,6 @@ static void find_backward(const Arg *arg) { vis_search(vis, arg->s, -1); } -static void insert(const Arg *arg) { - //vis_insert(vis, arg->s, strlen(arg->s)); -} - typedef struct Screen Screen; static struct Screen { int w, h; |
