diff options
author | Christian Duerr <contact@christianduerr.com> | 2018-04-14 17:37:57 +0200 |
---|---|---|
committer | Joe Wilm <joe@jwilm.com> | 2018-06-02 09:56:50 -0700 |
commit | d39370514a127faa05832701bb4a56fc6811de9d (patch) | |
tree | f9f8e61352783d2caaf86b118971c2efea40bac4 /tests/ref/history/size.json | |
parent | 2234234ca9a2ab0d7eccd46893cbe6799b051aba (diff) | |
download | alacritty-d39370514a127faa05832701bb4a56fc6811de9d.tar.gz alacritty-d39370514a127faa05832701bb4a56fc6811de9d.zip |
Reset grid content when running `reset`
In the current scrollback PR the `reset` command does not affect the
scrollback history. To make sure the terminal is properly reset, it
should clear the scrollback history.
This commit fixes this by creating a new and empty grid whenever `reset`
is executed. It takes the current dimensions and history size from the
old grid.
Right now there's an empty ref-test called `grid_reset` without any
content, this should be implemented once #1244 is resolved.
This fixes #1242.
Diffstat (limited to 'tests/ref/history/size.json')
-rw-r--r-- | tests/ref/history/size.json | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ref/history/size.json b/tests/ref/history/size.json index 1fccab3a..a3170213 100644 --- a/tests/ref/history/size.json +++ b/tests/ref/history/size.json @@ -1 +1 @@ -{"width":2532.0,"height":1380.0,"cell_width":10.0,"cell_height":19.0,"padding_x":5.0,"padding_y":5.0}
\ No newline at end of file +{"width":1259.0,"height":1380.0,"cell_width":10.0,"cell_height":19.0,"padding_x":5.0,"padding_y":5.0}
\ No newline at end of file |