diff options
author | Silvus <silvus@silvus.fr> | 2016-06-19 16:30:33 +0200 |
---|---|---|
committer | Jonathan Slenders <jonathan@slenders.be> | 2016-11-01 11:14:32 +0100 |
commit | c5450fa2412d1e77c7147d711e95fe43c926dbd7 (patch) | |
tree | 844715143edafc9c9eaadd64c69d24b94bfc8702 | |
parent | 5e85bf5a790e0c108f036031e3a66dcf163cc899 (diff) |
Fix full-screen-layout example: `on_text_changed` receives a Buffer instead of a CLI.
-rwxr-xr-x | examples/full-screen-layout.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/full-screen-layout.py b/examples/full-screen-layout.py index 6883d28a..f9e6ea1a 100755 --- a/examples/full-screen-layout.py +++ b/examples/full-screen-layout.py @@ -141,7 +141,7 @@ buffers={ # Now we add an event handler that captures change events to the buffer on the # left. If the text changes over there, we'll update the buffer on the right. -def default_buffer_changed(cli): +def default_buffer_changed(default_buffer): """ When the buffer on the left (DEFAULT_BUFFER) changes, update the buffer on the right. We just reverse the text. |