diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2017-06-12 17:26:22 +0200 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2017-06-15 15:51:42 +0200 |
| commit | 318837f379d848a0ee431d25c15033a251433a33 (patch) | |
| tree | c35a5f90c2e9754865a038ed63b944579769135d /vis-prompt.c | |
| parent | 2fa1bea119b211b306281bc3688dee7af7889169 (diff) | |
| download | vis-318837f379d848a0ee431d25c15033a251433a33.tar.gz vis-318837f379d848a0ee431d25c15033a251433a33.tar.xz | |
view: remove view_cursors_multiple
Diffstat (limited to 'vis-prompt.c')
| -rw-r--r-- | vis-prompt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vis-prompt.c b/vis-prompt.c index c37f093..7658d55 100644 --- a/vis-prompt.c +++ b/vis-prompt.c @@ -117,7 +117,7 @@ static const char *prompt_enter(Vis *vis, const char *keys, const Arg *arg) { static const char *prompt_esc(Vis *vis, const char *keys, const Arg *arg) { Win *prompt = vis->win; - if (view_cursors_multiple(prompt->view)) { + if (view_cursors_count(prompt->view) > 1) { view_cursors_clear(prompt->view); } else { prompt_restore(prompt); |
