summaryrefslogtreecommitdiff
path: root/xmake/core/ui/program.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2022-11-30 23:17:56 +0800
committerruki <[email protected]>2022-11-30 23:17:56 +0800
commit6ab4c11e415f5cb5de30f150e21649b48c45a3c8 (patch)
tree7f056b1c3bb331407a1adec4b374683d761f4746 /xmake/core/ui/program.lua
parent8617fc332b913cc666b9f2afb20b2d61f6a79481 (diff)
rewrite curses
Diffstat (limited to 'xmake/core/ui/program.lua')
-rw-r--r--xmake/core/ui/program.lua8
1 files changed, 0 insertions, 8 deletions
diff --git a/xmake/core/ui/program.lua b/xmake/core/ui/program.lua
index 49eff8679..1c19a9631 100644
--- a/xmake/core/ui/program.lua
+++ b/xmake/core/ui/program.lua
@@ -51,14 +51,6 @@ function program:init(name, argv)
curses.mousemask(curses.ALL_MOUSE_EVENTS)
end
- -- to filter characters being output to the screen
- -- this will filter all characters where a chtype or chstr is used
- curses.map_output(true)
-
- -- on WIN32 ALT keys need to be mapped, so to make sure you get the wanted keys,
- -- only makes sense when using keypad(true) and echo(false)
- curses.map_keyboard(true)
-
-- init colors
if (curses.has_colors()) then
curses.start_color()