diff options
| author | Saikari <[email protected]> | 2026-01-27 00:19:16 +0300 |
|---|---|---|
| committer | Saikari <[email protected]> | 2026-01-27 00:19:16 +0300 |
| commit | 8855fb1173ed118bda8e75ccd75c1b0db26bdcf7 (patch) | |
| tree | f40d08bdf148e6fc381dc1ed99b6f31e15c718e3 | |
| parent | 8a258a2fcb48308f7aa3f1f864aee12e91e1ce3b (diff) | |
add support for Alacritty terminal in tty.term function
| -rw-r--r-- | xmake/core/base/tty.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xmake/core/base/tty.lua b/xmake/core/base/tty.lua index a605a4a9e..39c4c0d31 100644 --- a/xmake/core/base/tty.lua +++ b/xmake/core/base/tty.lua @@ -396,6 +396,8 @@ function tty.term() term = "xterm" elseif TERM == "cygwin" then term = "cygwin" + elseif TERM:find("alacritty", 1, true) then + term = "alacritty" end end end |
