OSDN Git Service
(root)
/
beyond-jp
/
beyond-jp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d38a8c6
)
Windows 11に対応
master
author
maruhiro
<maruhiro@bridge.ocn.ne.jp>
Sun, 18 Dec 2022 04:13:36 +0000
(13:13 +0900)
committer
maruhiro
<maruhiro@bridge.ocn.ne.jp>
Sun, 18 Dec 2022 09:33:35 +0000
(18:33 +0900)
crt.pas.win32
patch
|
blob
|
history
diff --git
a/crt.pas.win32
b/crt.pas.win32
index
8df1476
..
5f216b6
100644
(file)
--- a/
crt.pas.win32
+++ b/
crt.pas.win32
@@
-359,6
+359,12
@@
begin
SetConsoleMode(output, ENABLE_PROCESSED_OUTPUT or ENABLE_WRAP_AT_EOL_OUTPUT);
SetConsoleMode(input, ENABLE_PROCESSED_INPUT or ENABLE_LINE_INPUT or ENABLE_ECHO_INPUT);
+ r.Top := 0;
+ r.Left := 0;
+ r.Right := 1;
+ r.Bottom := 1;
+ SetConsoleWindowInfo(output, true, r);
+
xy.x := WIDTH;
xy.y := HEIGHT;
SetConsoleScreenBufferSize(output, xy);