summaryrefslogtreecommitdiff
path: root/src/context.hh
diff options
context:
space:
mode:
authorMaxime Coste <frrrwww@gmail.com>2013-09-16 19:15:13 +0100
committerMaxime Coste <frrrwww@gmail.com>2013-09-16 19:15:13 +0100
commit06e06d6ea67f10ececd7232471505e7d8f36d509 (patch)
tree478b39028f534bb6b89b16ffcffa54c83c61b3c2 /src/context.hh
parent49903523a7f28c18d324bf605876b9d18a97047b (diff)
remove print_status from UserInterface, pass status line to draw
Client store the current status line. This way calls to print status do not force the user interface to display directly.
Diffstat (limited to 'src/context.hh')
-rw-r--r--src/context.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/context.hh b/src/context.hh
index fe7a4021..736d78e8 100644
--- a/src/context.hh
+++ b/src/context.hh
@@ -49,7 +49,7 @@ struct Context
OptionManager& options() const;
HookManager& hooks() const;
- void print_status(const DisplayLine& status) const;
+ void print_status(DisplayLine status) const;
void push_jump();
const DynamicSelectionList& jump_forward();