Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
alexarchambault authored Feb 6, 2025
1 parent efb30db commit 76a80fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ Calling this method is safe on other platforms. It simply returns true in that c
import io.github.alexarchambault.nativeterm.NativeTerminal;
import io.github.alexarchambault.nativeterm.TerminalSize;

TerminalSize size = NativeTerminal.size();
TerminalSize size = NativeTerminal.getSize();
int width = size.getWidth();
int height = size.getHeight();
```
Expand Down

0 comments on commit 76a80fa

Please sign in to comment.