Skip to content

πŸ™Œ OpenHands: AI-Driven Development

Make tmux optional for development (#8063)

sp.wack7109b057b65b
diff --git a/Makefile b/Makefile
index 398f8d99f0..87f502c357 100644
--- a/Makefile
+++ b/Makefile
@@ -38,8 +38,8 @@ check-dependencies:
ifeq ($(INSTALL_DOCKER),)
@$(MAKE) -s check-docker
endif
- @$(MAKE) -s check-tmux
@$(MAKE) -s check-poetry
+ @$(MAKE) -s check-tmux
@echo "$(GREEN)Dependencies checked successfully.$(RESET)"
check-system:
@@ -107,8 +107,11 @@ check-tmux:
@if command -v tmux > /dev/null; then \
echo "$(BLUE)$(shell tmux -V) is already installed.$(RESET)"; \
else \
- echo "$(RED)tmux is not installed. Please install tmux to continue.$(RESET)"; \
- exit 1; \
+ echo "$(YELLOW)╔════════════════════════════════════════════════════════════════════════════╗$(RESET)"; \
+ echo "$(YELLOW)β•‘ OPTIONAL: tmux is not installed. β•‘$(RESET)"; \
+ echo "$(YELLOW)β•‘ Some advanced terminal features may not work without tmux. β•‘$(RESET)"; \
+ echo "$(YELLOW)β•‘ You can install it if needed, but it's not required for development. β•‘$(RESET)"; \
+ echo "$(YELLOW)β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•$(RESET)"; \
fi
check-poetry: