1
0
Fork 0
mirror of https://github.com/LadybirdBrowser/ladybird.git synced 2025-06-11 18:20:43 +09: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
Notes: sideshowbarker 2024-07-17 18:55:36 +09:00
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;