Replace deprecated String.lowercase with String.lowercase_ascii
This commit is contained in:
parent
239e6aad95
commit
9dcb51fea8
|
@ -80,7 +80,7 @@ let load () =
|
|||
styles.style_foreground <- LTerm_resources.get_color "foreground" res;
|
||||
styles.style_background <- LTerm_resources.get_color "background" res;
|
||||
styles.style_cursor <- LTerm_resources.get_color "cursor" res;
|
||||
(match String.lowercase (LTerm_resources.get "profile" res) with
|
||||
(match String.lowercase_ascii (LTerm_resources.get "profile" res) with
|
||||
| "light" -> UTop.set_profile UTop.Light
|
||||
| "dark" -> UTop.set_profile UTop.Dark
|
||||
| "" -> ()
|
||||
|
|
Loading…
Reference in New Issue