mirror of
https://github.com/helix-editor/helix.git
synced 2025-04-04 11:27:46 +03:00
fix typos (#2304)
This commit is contained in:
parent
2e46961886
commit
3a398eec56
24 changed files with 52 additions and 52 deletions
|
@ -17,15 +17,15 @@ fn terminal_buffer_size_should_be_limited() {
|
|||
// let backend = TestBackend::new(10, 10);
|
||||
// let mut terminal = Terminal::new(backend)?;
|
||||
// let frame = terminal.draw(|f| {
|
||||
// let paragrah = Paragraph::new("Test");
|
||||
// f.render_widget(paragrah, f.size());
|
||||
// let paragraph = Paragraph::new("Test");
|
||||
// f.render_widget(paragraph, f.size());
|
||||
// })?;
|
||||
// assert_eq!(frame.buffer.get(0, 0).symbol, "T");
|
||||
// assert_eq!(frame.area, Rect::new(0, 0, 10, 10));
|
||||
// terminal.backend_mut().resize(8, 8);
|
||||
// let frame = terminal.draw(|f| {
|
||||
// let paragrah = Paragraph::new("test");
|
||||
// f.render_widget(paragrah, f.size());
|
||||
// let paragraph = Paragraph::new("test");
|
||||
// f.render_widget(paragraph, f.size());
|
||||
// })?;
|
||||
// assert_eq!(frame.buffer.get(0, 0).symbol, "t");
|
||||
// assert_eq!(frame.area, Rect::new(0, 0, 8, 8));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue