Format .gotty

This commit is contained in:
Iwasaki Yudai 2015-10-12 15:54:41 +09:00
parent a9d26bec2c
commit f7b54e9e5a
1 changed files with 14 additions and 11 deletions

23
.gotty
View File

@ -82,9 +82,8 @@
// Controls how the alt key is handled. // Controls how the alt key is handled.
// "escape"....... Send an ESC prefix. // "escape"....... Send an ESC prefix.
// "8-bit"........ Add 128 to the unshifted character as in xterm. // "8-bit"........ Add 128 to the unshifted character as in xterm.
// "browser-key".. Wait for the keypress event and see what the browser // "browser-key".. Wait for the keypress event and see what the browser says.
// says. (This won't work well on platforms where the // (This won't work well on platforms where the browser performs a default action for some alt sequences.)
// browser performs a default action for some alt sequences.)
// alt_sends_what = "escape" // alt_sends_what = "escape"
// [string] URL of the terminal bell sound. Empty string for no audible bell. // [string] URL of the terminal bell sound. Empty string for no audible bell.
@ -92,8 +91,7 @@
// [bool] If true, terminal bells in the background will create a Web Notification. http://www.w3.org/TR/notifications/ // [bool] If true, terminal bells in the background will create a Web Notification. http://www.w3.org/TR/notifications/
// Displaying notifications requires permission from the user. // Displaying notifications requires permission from the user.
// When this option is set to true, hterm will attempt to ask the user for // When this option is set to true, hterm will attempt to ask the user for permission if necessary.
// permission if necessary.
// Note browsers may not show this permission request // Note browsers may not show this permission request
// if it did not originate from a user action. // if it did not originate from a user action.
// desktop_notification_bell = false // desktop_notification_bell = false
@ -118,7 +116,8 @@
// backspace_sends_backspace = false // backspace_sends_backspace = false
// [map[string]map[string]string] // [map[string]map[string]string]
// A nested map where each property is the character set code and the value is a map that is a sparse array itself. In that sparse array, each property is the received character and the value is the displayed character. // A nested map where each property is the character set code and the value is a map that is a sparse array itself.
// In that sparse array, each property is the received character and the value is the displayed character.
// For example: // For example:
// {"0" = {"+" = "\u2192" // {"0" = {"+" = "\u2192"
// "," = "\u2190" // "," = "\u2190"
@ -211,7 +210,8 @@
// [string] The foreground color for text with no other color attributes. // [string] The foreground color for text with no other color attributes.
// foreground_color = "rgb(240, 240, 240)" // foreground_color = "rgb(240, 240, 240)"
// [bool] If true, home/end will control the terminal scrollbar and shift home/end will send the VT keycodes. If false then home/end sends VT codes and shift home/end scrolls. // [bool] If true, home/end will control the terminal scrollbar and shift home/end will send the VT keycodes.
// If false then home/end sends VT codes and shift home/end scrolls.
// home_keys_scroll = false // home_keys_scroll = false
// [map[string]string] // [map[string]string]
@ -248,7 +248,8 @@
// [enum(null, true, false)] // [enum(null, true, false)]
// Set whether we should pass Alt-1..9 to the browser. // Set whether we should pass Alt-1..9 to the browser.
// This is handy when running hterm in a browser tab, so that you don't lose Chrome's "switch to tab" keyboard accelerators. When not running in a tab it's better to send these keys to the host so they can be used in vim or emacs. // This is handy when running hterm in a browser tab, so that you don't lose Chrome's "switch to tab" keyboard accelerators.
// When not running in a tab it's better to send these keys to the host so they can be used in vim or emacs.
// If true, Alt-1..9 will be handled by the browser. // If true, Alt-1..9 will be handled by the browser.
// If false, Alt-1..9 will be sent to the host. // If false, Alt-1..9 will be sent to the host.
// If null, autodetect based on browser platform and window type. // If null, autodetect based on browser platform and window type.
@ -256,7 +257,8 @@
// [enum(null, true, false)] // [enum(null, true, false)]
// Set whether we should pass Ctrl-1..9 to the browser. // Set whether we should pass Ctrl-1..9 to the browser.
// This is handy when running hterm in a browser tab, so that you don't lose Chrome's "switch to tab" keyboard accelerators. When not running in a tab it's better to send these keys to the host so they can be used in vim or emacs. // This is handy when running hterm in a browser tab, so that you don't lose Chrome's "switch to tab" keyboard accelerators.
// When not running in a tab it's better to send these keys to the host so they can be used in vim or emacs.
// If true, Ctrl-1..9 will be handled by the browser. // If true, Ctrl-1..9 will be handled by the browser.
// If false, Ctrl-1..9 will be sent to the host. // If false, Ctrl-1..9 will be sent to the host.
// If null, autodetect based on browser platform and window type. // If null, autodetect based on browser platform and window type.
@ -264,7 +266,8 @@
// [enum(null, true, false)] // [enum(null, true, false)]
// Set whether we should pass Meta-1..9 to the browser. // Set whether we should pass Meta-1..9 to the browser.
// This is handy when running hterm in a browser tab, so that you don't lose Chrome's "switch to tab" keyboard accelerators. When not running in a tab it's better to send these keys to the host so they can be used in vim or emacs. // This is handy when running hterm in a browser tab, so that you don't lose Chrome's "switch to tab" keyboard accelerators.
// When not running in a tab it's better to send these keys to the host so they can be used in vim or emacs.
// If true, Meta-1..9 will be handled by the browser. // If true, Meta-1..9 will be handled by the browser.
// If false, Meta-1..9 will be sent to the host. If null, autodetect based on browser platform and window type. // If false, Meta-1..9 will be sent to the host. If null, autodetect based on browser platform and window type.
// pass_meta_number = null // pass_meta_number = null