aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSiri Hansen <[email protected]>2017-09-15 11:19:04 +0200
committerSiri Hansen <[email protected]>2017-09-18 11:07:09 +0200
commit3a2a22eaebdebe5bf46fa7aaea57532543c5039f (patch)
treea10dc62daedc1dd8efb1e741c57bacaf64413ee7
parent619f6c801008f0e4c50366ae5e6f1bca7f64c2b8 (diff)
downloadotp-3a2a22eaebdebe5bf46fa7aaea57532543c5039f.tar.gz
otp-3a2a22eaebdebe5bf46fa7aaea57532543c5039f.tar.bz2
otp-3a2a22eaebdebe5bf46fa7aaea57532543c5039f.zip
cdv: Add ~tw as formatting option when expanding a term
-rw-r--r--lib/observer/src/cdv_term_cb.erl1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/observer/src/cdv_term_cb.erl b/lib/observer/src/cdv_term_cb.erl
index 24fc33267e..bdcb13f22d 100644
--- a/lib/observer/src/cdv_term_cb.erl
+++ b/lib/observer/src/cdv_term_cb.erl
@@ -40,6 +40,7 @@ init_term_page(ParentWin, {Type, [Term, Tab]}) ->
[{"Format \~p",cdv_html_wx,{Type, format_term_fun("~p",BinSaved,Tab)}},
{"Format \~tp",cdv_html_wx,{Type,format_term_fun("~tp",BinSaved,Tab)}},
{"Format \~w",cdv_html_wx,{Type,format_term_fun("~w",BinSaved,Tab)}},
+ {"Format \~tw",cdv_html_wx,{Type,format_term_fun("~tw",BinSaved,Tab)}},
{"Format \~s",cdv_html_wx,{Type,format_term_fun("~s",Expanded,Tab)}},
{"Format \~ts",cdv_html_wx,{Type,format_term_fun("~ts",Expanded,Tab)}}]).