diff options
author | 2015-01-05 12:54:57 -0500 | |
---|---|---|
committer | 2015-01-05 12:54:57 -0500 | |
commit | 5723986b9871adba0fc51b7ab5249708a3723af9 (patch) | |
tree | 9d9490044b4f93151460fdbdffa0337b1aa07112 /properties.lua | |
parent | 875a6ea399472468f343b06d2606948e40e6f5c2 (diff) | |
download | textadept-5723986b9871adba0fc51b7ab5249708a3723af9.tar.gz textadept-5723986b9871adba0fc51b7ab5249708a3723af9.zip |
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.
Diffstat (limited to 'properties.lua')
-rw-r--r-- | properties.lua | 3 |
1 files changed, 2 insertions, 1 deletions
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 |