From 5723986b9871adba0fc51b7ab5249708a3723af9 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Mon, 5 Jan 2015 12:54:57 -0500 Subject: Disable scrollbar in Mac OSX terminal version for real; properties.lua The change in revision 1900 did not work because `OSX` is only set in the GUI version on Mac OSX. Terminal.app does not render correctly when vertical scroll bars are enabled. --- properties.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'properties.lua') diff --git a/properties.lua b/properties.lua index 3afef06b..d3362939 100644 --- a/properties.lua +++ b/properties.lua @@ -19,7 +19,8 @@ buffer:set_y_caret_policy(buffer.CARET_SLOP + buffer.CARET_STRICT + buffer.CARET_EVEN, 1) --buffer:set_visible_policy() --buffer.h_scroll_bar = CURSES -buffer.v_scroll_bar = not OSX or not CURSES -- disable on OSX curses +--buffer.v_scroll_bar = false +if CURSES and not (WIN32 or LINUX or BSD) then buffer.v_scroll_bar = false end --buffer.scroll_width = --buffer.scroll_width_tracking = true --buffer.end_at_last_line = false -- cgit v1.2.3