Title: Question about step 101 · Issue #46 · snaptoken/kilo-tutorial · GitHub
Open Graph Title: Question about step 101 · Issue #46 · snaptoken/kilo-tutorial
X Title: Question about step 101 · Issue #46 · snaptoken/kilo-tutorial
Description: Quick question... Why do we have to check if at is less than 0? Under which condition does at become less than 0 and if at if less than 0, why do we set it to row.size and not 0?
Open Graph Description: Quick question... Why do we have to check if at is less than 0? Under which condition does at become less than 0 and if at if less than 0, why do we set it to row.size and not 0?
X Description: Quick question... Why do we have to check if at is less than 0? Under which condition does at become less than 0 and if at if less than 0, why do we set it to row.size and not 0?
Opengraph URL: https://github.com/snaptoken/kilo-tutorial/issues/46
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Question about step 101","articleBody":"Quick question... Why do we have to check if `at` [is less than 0](https://viewsourcecode.org/snaptoken/kilo/05.aTextEditor.html#insert-ordinary-characters)?\r\nUnder which condition does `at` become less than 0 and if `at` if less than 0, why do we set it to `row.size` and not `0`?","author":{"url":"https://github.com/Kofituo","@type":"Person","name":"Kofituo"},"datePublished":"2021-10-06T11:31:33.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/46/kilo-tutorial/issues/46"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:d8a5885e-b360-301c-34bf-9937e5b57d63 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A290:1E6767:5654086:76FB9FD:6A4B9708 |
| html-safe-nonce | 899d76edf3a249f583b5b55f166f70f2d2f6fd741dbb62e885f2f7597ad7b36b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMjkwOjFFNjc2Nzo1NjU0MDg2Ojc2RkI5RkQ6NkE0Qjk3MDgiLCJ2aXNpdG9yX2lkIjoiOTAzMTc4NTI2ODUyOTMwNTM1MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 568575bf5b271cd51d76b08e13eeb6df14c287ad4cf9afc7d61d2ced6221bbee |
| hovercard-subject-tag | issue:1018109959 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/snaptoken/kilo-tutorial/46/issue_layout |
| twitter:image | https://opengraph.githubassets.com/85c851e07711c3b440ed39fd660e5dcd924295da3859a21437233396f6dd3aaa/snaptoken/kilo-tutorial/issues/46 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/85c851e07711c3b440ed39fd660e5dcd924295da3859a21437233396f6dd3aaa/snaptoken/kilo-tutorial/issues/46 |
| og:image:alt | Quick question... Why do we have to check if at is less than 0? Under which condition does at become less than 0 and if at if less than 0, why do we set it to row.size and not 0? |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Kofituo |
| hostname | github.com |
| expected-hostname | github.com |
| None | a7e470aeb8fedd833ae331b0a162f6c5a72c09b899dd94a7cd531e5e0e3a93d5 |
| turbo-cache-control | no-preview |
| go-import | github.com/snaptoken/kilo-tutorial git https://github.com/snaptoken/kilo-tutorial.git |
| octolytics-dimension-user_id | 26369560 |
| octolytics-dimension-user_login | snaptoken |
| octolytics-dimension-repository_id | 83657016 |
| octolytics-dimension-repository_nwo | snaptoken/kilo-tutorial |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 83657016 |
| octolytics-dimension-repository_network_root_nwo | snaptoken/kilo-tutorial |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 002ff9eae32541065971ef8eb83be807119742a9 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width