aboutsummaryrefslogtreecommitdiffhomepage
path: root/reader.h
diff options
context:
space:
mode:
authorGravatar liljencrantz <liljencrantz@gmail.com>2007-10-06 00:59:19 +1000
committerGravatar liljencrantz <liljencrantz@gmail.com>2007-10-06 00:59:19 +1000
commit68857220acb7fdcc7b9b47f85493a962b4330930 (patch)
treea3b895aa18c1bb3d050063caaece6caa1adec9a1 /reader.h
parent713c84d8213b8d9e903f3e59c084385813cccc30 (diff)
Make fish automatically realise a repaint is needed in more situations, making many keybinding calls to 'commandline -f repaint' unneeded
darcs-hash:20071005145919-75c98-ce349d3718e54df30a050b97afee48b56ab46348.gz
Diffstat (limited to 'reader.h')
-rw-r--r--reader.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/reader.h b/reader.h
index f82d6e88..15c6b9da 100644
--- a/reader.h
+++ b/reader.h
@@ -63,11 +63,10 @@ wchar_t *reader_pop_current_filename();
void reader_write_title();
/**
- Repaint the entire commandline. This means reset and clear the
- commandline, write the prompt, perform syntax highlighting, write
- the commandline and move the cursor.
-*/
-void repaint();
+ Call this function to tell the reader that a repaint is needed, and
+ should be performed when possible.
+ */
+void reader_repaint_needed();
/**
Run the specified command with the correct terminal modes, and