1
Fork 0
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:
Andreas Kling 2022-02-13 14:55:23 +01:00
parent 92e0378dbd
commit 88e7d44cc4
3 changed files with 3 additions and 3 deletions

View file

@ -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;