diff options
author | Joe Wilm <joe@jwilm.com> | 2016-12-04 11:13:24 -0800 |
---|---|---|
committer | Joe Wilm <joe@jwilm.com> | 2016-12-11 20:23:41 -0800 |
commit | 3151ef862596bbfc69b2941765f2574348d85a8f (patch) | |
tree | 0f4595cec2d18e332c4ed2f47359e7de45390442 /src/main.rs | |
parent | ff5081d5e5cd2ddcf775357853b81afbcf45aef4 (diff) | |
download | alacritty-3151ef862596bbfc69b2941765f2574348d85a8f.tar.gz alacritty-3151ef862596bbfc69b2941765f2574348d85a8f.zip |
Rename RenderApi::render_grid() to render_cells()
This probably should have been renamed in the original refactor, but oh
well. `render_cells()` takes a generic parameter `I` which is any
`Iterator<Item=IndexedCell>` and is thus no longer coupled to the grid
type. Renaming it reflects that.
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs index aaa20953..04b269e3 100644 --- a/src/main.rs +++ b/src/main.rs @@ -364,7 +364,7 @@ impl Display { api.clear(); // Draw the grid - api.render_grid(terminal.renderable_cells(), glyph_cache); + api.render_cells(terminal.renderable_cells(), glyph_cache); }); } |