diff options
| author | 2025-12-12 02:54:07 +0000 | |
|---|---|---|
| committer | 2025-12-12 02:54:07 +0000 | |
| commit | 04c96296b50397665c221a8bf859352652e90098 (patch) | |
| tree | 76dbee2b5b524779209ea3c8b42b804a69ea10ca | |
| parent | plan9: silence first mk, redisable EV for now (diff) | |
drop fixme, can worry about it later
| -rw-r--r-- | src/mainclient/shell.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/mainclient/shell.c b/src/mainclient/shell.c index beb938dd..ccf072da 100644 --- a/src/mainclient/shell.c +++ b/src/mainclient/shell.c @@ -329,10 +329,6 @@ static int getcols(void) { CONSOLE_SCREEN_BUFFER_INFO csbi; GetConsoleScreenBufferInfo(GetStdHandle(STD_OUTPUT_HANDLE), &csbi); return (int)(csbi.srWindow.Right - csbi.srWindow.Left + 1); -#elif defined(JANET_PLAN9) - //FIXME(noam): this can probably read /dev/window to get window size, and - //divide by the active font width, since plan9 requires fixed-width glyphs. - return 80; #else struct winsize ws; if (ioctl(1, TIOCGWINSZ, &ws) == -1 || ws.ws_col == 0) { |
