alexmojaki / alexmojaki/futurecoder

Horizontal scrolling problem with shell and other shell/editor layout ideas

オープン
#259 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
bug frontend good first issue help wanted
主要言語
Python
スター
1.5k
フォーク
183
PR マージ指標
30日以内にマージされた PR はありません

説明

If you call `input("Reasonable length prompt: ")` then the shell scrolls to the right, hiding the content on the left. The reason for this is a bit of CSS `width: calc(100% - 2.5em)` on a div wrapping the `` tag where the user types into the shell. But removing that leaves the input element short so that if you enter a long line of code it doesn't show the full thing. I don't know what a good solution is. The side-scrolling issue was noticed [here](https://www.spysafe.com.au/wc-code-nim.html) which is sad because they say great things about futurecoder otherwise.

There are other ways in which the layout of the course/IDE could be improved which wouldn't really solve this issue but might help and also improve the site in other ways. These are just loosely related and can be done in isolation.

- The borders between editor and shell (in both course and IDE mode) and between the editor/shell and course could have 'handles' which resize the sections when dragged, so that the editor or shell can be bigger when I want.
- In IDE mode, there could be a button to switch layout, so the editor and shell would have the full width of the screen and occupy the top and bottom halves instead of left and right.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。