Skip to content

Commit

Permalink
fix using Term on nightly - julia 1.12
Browse files Browse the repository at this point in the history
  • Loading branch information
t-bltg committed Mar 26, 2024
1 parent 094339b commit a20a3aa
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 3 deletions.
8 changes: 7 additions & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,20 @@ UnicodeFun = "1cfade01-22cf-5700-b092-accc4b62d6e1"
[compat]
AbstractTrees = "0.4"
CodeTracking = "1"
Dates = "1"
Highlights = "0.5"
InteractiveUtils = "1"
Logging = "1"
Markdown = "1"
MyterialColors = "0.3"
OrderedCollections = "1"
Parameters = "0.12"
ProgressLogging = "0.1"
PrecompileTools = "1"
REPL = "1"
Tables = "1"
UUIDs = "1"
Unicode = "1"
UnicodeFun = "0.4"
julia = "1.6"

Expand All @@ -41,7 +48,6 @@ StableRNGs = "860ef19b-820b-49d6-a774-d7a799459cd3"
Suppressor = "fd094767-a336-5f1f-9728-57cf17d0bbfb"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
TimerOutputs = "a759f4b9-e2f1-59dc-863e-4aeb61b1ea8f"
UUIDs = "cf7118a7-6976-5b1a-9a39-7adc72f591a4"

[targets]
test = ["Random", "StableRNGs", "Suppressor", "Test", "TimerOutputs"]
11 changes: 9 additions & 2 deletions src/Live/live.jl
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
module LiveWidgets
using REPL.TerminalMenus: readkey, terminal
using REPL.Terminals: raw!, AbstractTerminal
import REPL
import REPL.Terminals: raw!, AbstractTerminal
import REPL.TerminalMenus: readkey
const terminal = @static if isdefined(REPL.TerminalMenus, :default_terminal)
REPL.TerminalMenus.default_terminal()
else
REPL.TerminalMenus.terminal
end

using Dates
import Base.Docs: doc as getdocs
using Markdown
Expand Down

0 comments on commit a20a3aa

Please sign in to comment.