{"action":"created","issue":{"url":"https://api.github.com/repos/zeit/hyper/issues/1610","repository_url":"https://api.github.com/repos/zeit/hyper","labels_url":"https://api.github.com/repos/zeit/hyper/issues/1610/labels{/name}","comments_url":"https://api.github.com/repos/zeit/hyper/issues/1610/comments","events_url":"https://api.github.com/repos/zeit/hyper/issues/1610/events","html_url":"https://github.com/zeit/hyper/issues/1610","id":212636296,"node_id":"MDU6SXNzdWUyMTI2MzYyOTY=","number":1610,"title":"Byobu Fn keys not working on Windows","user":{"login":"khuongduybui","id":831343,"node_id":"MDQ6VXNlcjgzMTM0Mw==","avatar_url":"https://avatars3.githubusercontent.com/u/831343?v=4","gravatar_id":"","url":"https://api.github.com/users/khuongduybui","html_url":"https://github.com/khuongduybui","followers_url":"https://api.github.com/users/khuongduybui/followers","following_url":"https://api.github.com/users/khuongduybui/following{/other_user}","gists_url":"https://api.github.com/users/khuongduybui/gists{/gist_id}","starred_url":"https://api.github.com/users/khuongduybui/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/khuongduybui/subscriptions","organizations_url":"https://api.github.com/users/khuongduybui/orgs","repos_url":"https://api.github.com/users/khuongduybui/repos","events_url":"https://api.github.com/users/khuongduybui/events{/privacy}","received_events_url":"https://api.github.com/users/khuongduybui/received_events","type":"User","site_admin":false},"labels":[{"id":402028601,"node_id":"MDU6TGFiZWw0MDIwMjg2MDE=","url":"https://api.github.com/repos/zeit/hyper/labels/%F0%9F%91%86%20Is%20Upstream","name":"👆 Is Upstream","color":"ffffff","default":false},{"id":456236636,"node_id":"MDU6TGFiZWw0NTYyMzY2MzY=","url":"https://api.github.com/repos/zeit/hyper/labels/%F0%9F%96%BC%20Platform:%20Windows","name":"🖼 Platform: Windows","color":"0078D6","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2017-03-08T04:42:34Z","updated_at":"2018-07-03T08:51:21Z","closed_at":null,"author_association":"NONE","body":"- I am on the [latest](https://github.com/zeit/hyper/releases/latest) Hyper.app version\r\n- I have searched the [issues](https://github.com/zeit/hyper/issues) of this repo and believe that this is not a duplicate\r\n\r\n- **OS version and name**: Windows 10 Creator Update\r\n- **Hyper.app version**: 1.3.3\r\n- **Link of a [Gist](https://gist.github.com/) with the contents of your .hyper.js**: Default settings, no plugins\r\n- **Relevant information from devtools** _(CMD+ALT+I on Mac OS, CTRL+SHIFT+I elsewhere)_: N/A\r\n- **The issue is reproducible in vanilla Hyper.app**: Is Vanilla\r\n\r\n## Issue\r\nI cannot use Byobu F2, F3, F4, F5 functions (new window, next window, previous window, repaint current window). F6 (soft-exit) and F8 (rename) works, however.\r\nI have tried byobu from an ssh session into a Ubuntu 16.04 box, doesn't work.\r\nI have tried byobu on bash on Ubuntu on Windows, doesn't work.\r\nI have tried byobu on Ubuntu inside a docker container, doesn't work either.\r\nI have tried both screen & tmux mode for byobu, none work.\r\n"},"comment":{"url":"https://api.github.com/repos/zeit/hyper/issues/comments/402062682","html_url":"https://github.com/zeit/hyper/issues/1610#issuecomment-402062682","issue_url":"https://api.github.com/repos/zeit/hyper/issues/1610","id":402062682,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMjA2MjY4Mg==","user":{"login":"justfool","id":2909988,"node_id":"MDQ6VXNlcjI5MDk5ODg=","avatar_url":"https://avatars0.githubusercontent.com/u/2909988?v=4","gravatar_id":"","url":"https://api.github.com/users/justfool","html_url":"https://github.com/justfool","followers_url":"https://api.github.com/users/justfool/followers","following_url":"https://api.github.com/users/justfool/following{/other_user}","gists_url":"https://api.github.com/users/justfool/gists{/gist_id}","starred_url":"https://api.github.com/users/justfool/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justfool/subscriptions","organizations_url":"https://api.github.com/users/justfool/orgs","repos_url":"https://api.github.com/users/justfool/repos","events_url":"https://api.github.com/users/justfool/events{/privacy}","received_events_url":"https://api.github.com/users/justfool/received_events","type":"User","site_admin":false},"created_at":"2018-07-03T08:51:21Z","updated_at":"2018-07-03T08:51:21Z","author_association":"NONE","body":"I have the same problem too\r\nthe keycode of `F1` ~ `F4` didn't match the terminal type `xterm-256color`\r\n\r\n`showkey -a` shows the actually key send by Hyper is `^[[11~`(F1) ~ `^[[14~`(F4),\r\nbuf terminfo expects `\\EOP`(F1) ~`\\EOS`(F4).\r\n\r\nFor temporary workaround,\r\nsave following to `~/.hyper.ti` and run `tic ~/hyper.ti`\r\nthen change `$TERM` to `hyper` and start a new byobu sesstion, the function keys works for me.\r\n\r\n \r\n```\r\n#\tReconstructed via infocmp from file: /lib/terminfo/x/xterm-256color\r\nhyper|hyper terminal,\r\n\tam, bce, ccc, km, mc5i, mir, msgr, npc, xenl,\r\n\tcolors#256, cols#80, it#8, lines#24, pairs#32767,\r\n\tacsc=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,\r\n\tbel=^G, blink=\\E[5m, bold=\\E[1m, cbt=\\E[Z, civis=\\E[?25l,\r\n\tclear=\\E[H\\E[2J, cnorm=\\E[?12l\\E[?25h, cr=^M,\r\n\tcsr=\\E[%i%p1%d;%p2%dr, cub=\\E[%p1%dD, cub1=^H,\r\n\tcud=\\E[%p1%dB, cud1=^J, cuf=\\E[%p1%dC, cuf1=\\E[C,\r\n\tcup=\\E[%i%p1%d;%p2%dH, cuu=\\E[%p1%dA, cuu1=\\E[A,\r\n\tcvvis=\\E[?12;25h, dch=\\E[%p1%dP, dch1=\\E[P, dl=\\E[%p1%dM,\r\n\tdl1=\\E[M, ech=\\E[%p1%dX, ed=\\E[J, el=\\E[K, el1=\\E[1K,\r\n\tflash=\\E[?5h$<100/>\\E[?5l, home=\\E[H, hpa=\\E[%i%p1%dG,\r\n\tht=^I, hts=\\EH, ich=\\E[%p1%d@, il=\\E[%p1%dL, il1=\\E[L,\r\n\tind=^J, indn=\\E[%p1%dS,\r\n\tinitc=\\E]4;%p1%d;rgb\\:%p2%{255}%*%{1000}%/%2.2X/%p3%{255}%*%{1000}%/%2.2X/%p4%{255}%*%{1000}%/%2.2X\\E\\\\,\r\n\tinvis=\\E[8m, is2=\\E[!p\\E[?3;4l\\E[4l\\E>, kDC=\\E[3;2~,\r\n\tkEND=\\E[1;2F, kHOM=\\E[1;2H, kIC=\\E[2;2~, kLFT=\\E[1;2D,\r\n\tkNXT=\\E[6;2~, kPRV=\\E[5;2~, kRIT=\\E[1;2C, kb2=\\EOE,\r\n\tkbs=\\177, kcbt=\\E[Z, kcub1=\\EOD, kcud1=\\EOB, kcuf1=\\EOC,\r\n\tkcuu1=\\EOA, kdch1=\\E[3~, kend=\\EOF, kent=\\EOM, kf1=\\E[11~,\r\n\tkf10=\\E[21~, kf11=\\E[23~, kf12=\\E[24~, kf13=\\E[1;2P,\r\n\tkf14=\\E[1;2Q, kf15=\\E[1;2R, kf16=\\E[1;2S, kf17=\\E[15;2~,\r\n\tkf18=\\E[17;2~, kf19=\\E[18;2~, kf2=\\E[12~, kf20=\\E[19;2~,\r\n\tkf21=\\E[20;2~, kf22=\\E[21;2~, kf23=\\E[23;2~,\r\n\tkf24=\\E[24;2~, kf25=\\E[1;5P, kf26=\\E[1;5Q, kf27=\\E[1;5R,\r\n\tkf28=\\E[1;5S, kf29=\\E[15;5~, kf3=\\E[13~, kf30=\\E[17;5~,\r\n\tkf31=\\E[18;5~, kf32=\\E[19;5~, kf33=\\E[20;5~,\r\n\tkf34=\\E[21;5~, kf35=\\E[23;5~, kf36=\\E[24;5~,\r\n\tkf37=\\E[1;6P, kf38=\\E[1;6Q, kf39=\\E[1;6R, kf4=\\E[14~,\r\n\tkf40=\\E[1;6S, kf41=\\E[15;6~, kf42=\\E[17;6~,\r\n\tkf43=\\E[18;6~, kf44=\\E[19;6~, kf45=\\E[20;6~,\r\n\tkf46=\\E[21;6~, kf47=\\E[23;6~, kf48=\\E[24;6~,\r\n\tkf49=\\E[1;3P, kf5=\\E[15~, kf50=\\E[1;3Q, kf51=\\E[1;3R,\r\n\tkf52=\\E[1;3S, kf53=\\E[15;3~, kf54=\\E[17;3~,\r\n\tkf55=\\E[18;3~, kf56=\\E[19;3~, kf57=\\E[20;3~,\r\n\tkf58=\\E[21;3~, kf59=\\E[23;3~, kf6=\\E[17~, kf60=\\E[24;3~,\r\n\tkf61=\\E[1;4P, kf62=\\E[1;4Q, kf63=\\E[1;4R, kf7=\\E[18~,\r\n\tkf8=\\E[19~, kf9=\\E[20~, khome=\\EOH, kich1=\\E[2~,\r\n\tkind=\\E[1;2B, kmous=\\E[M, knp=\\E[6~, kpp=\\E[5~,\r\n\tkri=\\E[1;2A, mc0=\\E[i, mc4=\\E[4i, mc5=\\E[5i, meml=\\El,\r\n\tmemu=\\Em, op=\\E[39;49m, rc=\\E8, rev=\\E[7m, ri=\\EM,\r\n\trin=\\E[%p1%dT, rmacs=\\E(B, rmam=\\E[?7l, rmcup=\\E[?1049l,\r\n\trmir=\\E[4l, rmkx=\\E[?1l\\E>, rmso=\\E[27m, rmul=\\E[24m,\r\n\trs1=\\Ec, rs2=\\E[!p\\E[?3;4l\\E[4l\\E>, sc=\\E7,\r\n\tsetab=\\E[%?%p1%{8}%<%t4%p1%d%e%p1%{16}%<%t10%p1%{8}%-%d%e48;5;%p1%d%;m,\r\n\tsetaf=\\E[%?%p1%{8}%<%t3%p1%d%e%p1%{16}%<%t9%p1%{8}%-%d%e38;5;%p1%d%;m,\r\n\tsetb@, setf@,\r\n\tsgr=%?%p9%t\\E(0%e\\E(B%;\\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;%?%p7%t;8%;m,\r\n\tsgr0=\\E(B\\E[m, smacs=\\E(0, smam=\\E[?7h, smcup=\\E[?1049h,\r\n\tsmir=\\E[4h, smkx=\\E[?1h\\E=, smso=\\E[7m, smul=\\E[4m,\r\n\ttbc=\\E[3g, u6=\\E[%i%d;%dR, u7=\\E[6n, u8=\\E[?1;2c, u9=\\E[c,\r\n\tvpa=\\E[%i%p1%dd,\r\n\r\n```\r\n"}}
{"actor":{"display_login":"justfool"}}