mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 16:27:35 +00:00
LibJS+LibLine: Run clang-format
This commit is contained in:
parent
92e0378dbd
commit
88e7d44cc4
3 changed files with 3 additions and 3 deletions
|
@ -228,7 +228,7 @@ void Editor::get_terminal_size()
|
|||
// terminal which is far from useful
|
||||
if (int fd = open("/dev/tty", O_RDONLY); fd != -1) {
|
||||
ioctl(fd, TIOCGWINSZ, &ws);
|
||||
close (fd);
|
||||
close(fd);
|
||||
}
|
||||
}
|
||||
m_num_columns = ws.ws_col;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue