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:
parent
92e0378dbd
commit
88e7d44cc4
Notes:
sideshowbarker
2024-07-17 18:55:36 +09:00
Author: https://github.com/awesomekling
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